enderalse/scripts/source/_00e_mq07a_chronikumbasementfailsc.psc

29 lines
818 B
Plaintext

Scriptname _00E_MQ07a_ChronikumBasementFailSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if !MQ07a.MQ07a_SC1_ExplanationInChronikum.IsPlaying() && akActionRef == PlayerREF && MQ07a.GetStage() <= 10
bDone = False
EndIf
if akActionRef == PlayerREF && MQ07a.GetStage() >= 5 && MQ07a.GetStage() <= 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