enderalse/source/scripts/_00e_mq01_nomusiccampboxsc.psc

25 lines
561 B
Plaintext

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