enderalse/source/scripts/_00e_mq01_nomusiccampboxsc.psc

25 lines
533 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ01_NoMusicCampBoxSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF
_00E_Debug.PrintMessage("Silence added.")
_00E_SilenceTransitionHighPriority.Add()
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
if akActionRef == PlayerREF
_00E_Debug.PrintMessage("Silence removed.")
_00E_SilenceTransitionHighPriority.Remove()
EndIf
EndEvent
MusicType Property _00E_SilenceTransitionHighPriority Auto
Actor Property PlayerREF Auto