enderalse/source/scripts/_00e_mq07a_chronikumbasementfailsc.psc

29 lines
845 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ07a_ChronikumBasementFailSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
2024-01-10 14:08:24 +00:00
if !MQ07a.MQ07a_SC1_ExplanationInChronikum.IsPlaying() && akActionRef == PlayerREF && MQ07a.GetCurrentStageID() <= 10
bDone = False
EndIf
2024-01-10 14:08:24 +00:00
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