enderalse/source/scripts/_00e_mq01_triggerrangeboxscript.psc

16 lines
344 B
Plaintext

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