enderalse/source/scripts/_00e_complex_blockidlechattersc.psc

30 lines
652 B
Plaintext
Raw Normal View History

Scriptname _00E_Complex_BlockIdleChatterSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF
2024-01-10 14:08:24 +00:00
if (__Config_QuestToSet.GetCurrentStageID() >= 5) && (__Config_QuestToSet.GetCurrentStageID() < __Config_iMaxStage)
AllowIdleChatter.SetValue(0)
EndIf
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
if akActionRef == PlayerREF
AllowIdleChatter.SetValue(1)
EndIf
EndEvent
Actor Property PlayerREF Auto
int Property __Config_iMinStage Auto
int Property __Config_iMaxStage Auto
Quest Property __Config_QuestToSet Auto
GlobalVariable Property AllowIdleChatter Auto