enderalse/scripts/source/_00e_complex_blockidlechattersc.psc

30 lines
653 B
Plaintext

Scriptname _00E_Complex_BlockIdleChatterSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF
if (__Config_QuestToSet.GetStage() >= 5) && (__Config_QuestToSet.GetStage() < __Config_iMaxStage)
Levelsystem.SetAllowIdleChatter(False)
EndIf
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
if akActionRef == PlayerREF
Levelsystem.SetAllowIdleChatter(True)
EndIf
EndEvent
Actor Property PlayerREF Auto
int Property __Config_iMinStage Auto
int Property __Config_iMaxStage Auto
Quest Property __Config_QuestToSet Auto
_00E_QuestFunctions Property Levelsystem Auto