25 lines
533 B
Plaintext
25 lines
533 B
Plaintext
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 |