26 lines
707 B
Plaintext
26 lines
707 B
Plaintext
Scriptname _00E_MQ13a_SC1_StartFailsaveSC extends ObjectReference
|
|
|
|
; Failsave for http://forum.sureai.net//tracker.php?p=8&t=11099 .
|
|
; Sometimes, scene _00E_MQ13a_SC1_StartFailsaveSC would not properly
|
|
; start. This script (placed
|
|
; on triggerbox _00E_MQ13a_SC1_StartFailsaveTGBX in cell
|
|
; SuntempleChronikum) would (re)start it in such cases.
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if akActionRef == PlayerREF
|
|
if MQ13a.GetCurrentStageID() == 5
|
|
if !MQ13a_SC01_LexYuslan.IsPlaying()
|
|
MQ13a.SetUp()
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
EndEvent
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
_00E_MQ13a_Functions Property MQ13a Auto
|
|
|
|
Scene Property MQ13a_SC01_LexYuslan Auto
|