enderalse/scripts/source/_00e_addsilencesc.psc

20 lines
441 B
Plaintext

Scriptname _00E_AddSilenceSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerREF
_00E_SilenceLongTransitionHighPriority.Add()
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
If akActionRef == PlayerREF
_00E_SilenceLongTransitionHighPriority.Remove()
EndIf
EndEvent
Actor Property PlayerREF Auto
MusicType Property _00E_SilenceLongTransitionHighPriority Auto