4
Fork 0
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.
 
 
 

30 lines
652 B

Scriptname _00E_Complex_BlockIdleChatterSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF
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