2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ03RuineTriggerStartScene extends ObjectReference
|
|
|
|
Actor Property MQ03Soeldner02Ref Auto
|
|
|
|
Actor Property MQ03Soeldner03Ref Auto
|
|
|
|
ObjectReference Property MQ03RuineDoor Auto
|
|
|
|
Scene Property _00E_MQ03_PathOfHopeSceneRuin01 Auto
|
|
|
|
Quest Property _00E_MQ03_PathOfHope Auto
|
|
|
|
Int DoOnce
|
|
|
|
|
|
|
|
Event OnTrigger(ObjectReference akActionRef)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if(_00E_MQ03_PathOfHope.GetCurrentStageID() >= 40)
|
2021-10-05 22:15:58 +00:00
|
|
|
if(akActionRef == Game.GetPlayer())
|
|
|
|
if(DoOnce == 0)
|
|
|
|
if(MQ03Soeldner02Ref.IsDead() == true)&&(MQ03Soeldner03Ref.IsDead() == true)
|
|
|
|
MQ03RuineDoor.lock(false)
|
|
|
|
MQ03RuineDoor.activate(Game.GetPlayer())
|
|
|
|
_00E_MQ03_PathOfHopeSceneRuin01.Start()
|
|
|
|
if _00E_MQ03_PathOfHopeSceneRuin01.IsPlaying()
|
|
|
|
; Debug.Messagebox("scene is playing!")
|
|
|
|
DoOnce = 1
|
|
|
|
endIf
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endevent
|
|
|
|
|
|
|
|
|