enderalse/source/scripts/_00e_mq10b_sc01_startfailsavesc.psc

36 lines
702 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)
2024-01-10 14:08:24 +00:00
if (MQ10a.GetCurrentStageID() >= 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