29 lines
845 B
Plaintext
29 lines
845 B
Plaintext
Scriptname _00E_MQ07a_ChronikumBasementFailSC extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if !MQ07a.MQ07a_SC1_ExplanationInChronikum.IsPlaying() && akActionRef == PlayerREF && MQ07a.GetCurrentStageID() <= 10
|
|
bDone = False
|
|
EndIf
|
|
|
|
if akActionRef == PlayerREF && MQ07a.GetCurrentStageID() >= 5 && MQ07a.GetCurrentStageID() <= 10 && !bDone && (!(_00E_MC_JesparREF.GetParentCell() == SuntempleChronikumBasement) || !(_00E_MC_LexREF.GetParentCell() == SuntempleChronikumBasement))
|
|
|
|
MQ07a.SC01Failsave()
|
|
|
|
if MQ07a.MQ07a_SC1_ExplanationInChronikum.IsPlaying()
|
|
bDone = True
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
bool bDone
|
|
|
|
_00E_MQ07a_Functions Property MQ07a Auto
|
|
|
|
Actor Property PlayerREF Auto
|
|
Actor Property _00E_MC_JesparREF Auto
|
|
Actor Property _00E_MC_LexREF Auto
|
|
|
|
Cell Property SuntempleChronikumBasement Auto |