enderalse/source/scripts/_00e_mq06_caliaguidefailsavesc.psc

34 lines
638 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ06_CaliaGuideFailsaveSC extends ObjectReference
; Sometimes, scene MQ06_SC3_CaliaShowsPlayerAroundDUPLICATE001
; 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
if (MQ06.GetStage() == 28)
if !MQ06_SC3.IsPlaying()
MQ06_SC3.ForceStart()
EndIf
bDone = True
EndIf
EndIf
EndEvent
bool bDone
Actor Property PlayerREF Auto
Quest Property MQ06 Auto
Scene Property MQ06_SC3 Auto