2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_Complex_AddSilenceSC extends ObjectReference
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
If akActionRef == PlayerREF
|
2024-01-10 14:08:24 +00:00
|
|
|
If (__Config_QuestToSet.GetCurrentStageID() >= __Config_iMinStage) && (__Config_QuestToSet.GetCurrentStageID() <= __Config_iMaxStage)
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_SilenceLongTransitionHighPriority.Add()
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
If akActionRef == PlayerREF
|
|
|
|
_00E_SilenceLongTransitionHighPriority.Remove()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
int Property __Config_iMinStage Auto
|
|
|
|
int Property __Config_iMaxStage Auto
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Quest Property __Config_QuestToSet Auto
|
|
|
|
MusicType Property _00E_SilenceLongTransitionHighPriority Auto
|