enderalse/source/scripts/_00e_mq01_triggerrangeboxscript.psc

16 lines
362 B
Plaintext

Scriptname _00E_MQ01_TriggerRangeBoxScript extends ObjectReference
Event OnTriggerLeave(ObjectReference akActionRef)
if !(MQ01_UnchartedLand.GetCurrentStageID() == 70) && (akActionRef == Game.GetPlayer())
MQ01_UnchartedLand.SetCurrentStageID(70)
Debug.Trace("Left trigger, set stage")
Self.Disable()
EndIf
EndEvent
Quest Property MQ01_UnchartedLand Auto