18 lines
365 B
Plaintext
18 lines
365 B
Plaintext
|
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
|