22 lines
456 B
Plaintext
22 lines
456 B
Plaintext
Scriptname _00E_AddSilenceTGBXSC extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
If (akActionRef == Game.GetPlayer())
|
|
_00E_SilenceTransitionHighPriority.Add()
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
If (akActionRef == Game.GetPlayer())
|
|
_00E_SilenceTransitionHighPriority.Remove()
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
MusicType Property _00E_SilenceTransitionHighPriority Auto |