enderalse/source/scripts/_00e_mq02arktrigger.psc

18 lines
383 B
Plaintext

Scriptname _00E_MQ02ArkTrigger extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If (akActionRef == PlayerRef && !bDone)
Int curStage = MQ02.GetCurrentStageID()
If curStage >= 140
bDone = True
If curStage < 160
MQ02.SetCurrentStageID(160)
EndIf
EndIf
EndIf
EndEvent
bool bDone
Actor Property PlayerRef Auto
Quest Property MQ02 Auto