enderalse/scripts/source/_00e_addsilencetgbxsc.psc

22 lines
456 B
Plaintext
Raw Normal View History

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