2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ12c_AddSilenceSC extends ObjectReference
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
|
2024-08-06 13:47:26 +00:00
|
|
|
if akActionRef == Game.GetForm(0x14) && !MQ12c.IsObjectiveCompleted(5) && MQ12c.IsRunning()
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_SilenceTransitionHighPriority.Add()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
|
2024-08-06 13:47:26 +00:00
|
|
|
if akActionRef == Game.GetForm(0x14)
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_SilenceTransitionHighPriority.Remove()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
Quest Property MQ12c Auto
|
|
|
|
|
2024-08-06 13:47:26 +00:00
|
|
|
MusicType Property _00E_SilenceTransitionHighPriority Auto
|