Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
693 B
25 lines
693 B
3 years ago
|
Scriptname _00E_Complex_AddSilenceSC extends ObjectReference
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
|
||
|
If akActionRef == PlayerREF
|
||
|
If (__Config_QuestToSet.GetStage() >= __Config_iMinStage) && (__Config_QuestToSet.GetStage() <= __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
|