2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ01_NoMusicCampBoxSC extends ObjectReference
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
if akActionRef == PlayerREF
|
2024-01-09 22:00:18 +00:00
|
|
|
_00E_Debug.PrintMessage("Silence added.")
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_SilenceTransitionHighPriority.Add()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
|
|
|
|
if akActionRef == PlayerREF
|
2024-01-09 22:00:18 +00:00
|
|
|
_00E_Debug.PrintMessage("Silence removed.")
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_SilenceTransitionHighPriority.Remove()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
MusicType Property _00E_SilenceTransitionHighPriority Auto
|
|
|
|
Actor Property PlayerREF Auto
|