25 lines
711 B
Plaintext
25 lines
711 B
Plaintext
Scriptname _00E_Complex_AddSilenceSC extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
If akActionRef == PlayerREF
|
|
If (__Config_QuestToSet.GetCurrentStageID() >= __Config_iMinStage) && (__Config_QuestToSet.GetCurrentStageID() <= __Config_iMaxStage)
|
|
_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 |