enderalse/source/scripts/_00e_nqg05_trapdoorfailsavesc.psc

17 lines
480 B
Plaintext

Scriptname _00E_NQG05_TrapdoorFailsaveSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if NQ_G_05.GetCurrentStageID() >= 15 && (_00E_NQ_G_05_CellarDoorREF.IsLocked() || _00E_NQ_G_05_CellarDoorREF.IsActivationBlocked())
_00E_NQ_G_05_CellarDoorREF.BlockActivation(False)
_00E_NQ_G_05_CellarDoorREF.Lock(False)
EndIf
EndEvent
Actor Property PlayerREF Auto
Quest Property NQ_G_05 Auto
ObjectReference Property _00E_NQ_G_05_CellarDoorREF Auto