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