enderalse/scripts/source/_00e_mq06johannesultradebugscenestart.psc

22 lines
654 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ06JohannesUltraDebugSceneStart extends ObjectReference
Event OnTrigger(ObjectReference akActionRef)
;Debug.MessageBox("triggered")
If akActionRef == Game.GetPlayer() && DoOnce == false
; Debug.MessageBox("triggered")
if MQ06.GetStage() < 10 && MQ06_SC1_PlayerEncountersHighOne.IsPlaying() == false
;Debug.MessageBox("Try to start...")
MQ06_SC1_PlayerEncountersHighOne.ForceStart()
if MQ06_SC1_PlayerEncountersHighOne.IsPlaying() == true
;Debug.MessageBox("Started")
endif
DoOnce = true
endif
EndIf
EndEvent
Quest Property MQ06 Auto
Scene Property MQ06_SC1_PlayerEncountersHighOne Auto
Bool DoOnce = false