enderalse/source/scripts/_00e_mq02arktrigger.psc

18 lines
365 B
Plaintext
Raw Normal View History

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