enderalse/scripts/source/_00e_mq10b_sc01_startfailsavesc.psc

36 lines
693 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ10b_sc01_startfailsaveSC extends ObjectReference
; Sometimes, scene MQ10b_SC1_Ship wouldn't start for no visible reason.
; This is a triggerbox to kick it in its ass.
Event OnTriggerEnter(ObjectReference akActionRef)
if !bDone && akActionRef == PlayerREF
Utility.Wait(1)
if (MQ10a.GetStage() >= 10)
if !MQ10b_SC1_Ship.IsPlaying()
Utility.Wait(1)
MQ10b_SC1_Ship.ForceStart()
EndIf
bDone = True
EndIf
EndIf
EndEvent
bool bDone
Actor Property PlayerREF Auto
Quest Property MQ10a Auto
Scene Property MQ10b_SC1_Ship Auto