enderalse/source/scripts/_00e_mq12b_sc4_doorlockscript.psc

14 lines
331 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ12b_SC4_DoorLockScript extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
if !(akActionRef == Game.GetPlayer())
Self.Activate(akActionRef, True)
Elseif Self.IsActivationBlocked()
_00E_MQ17_TempleDoorBlocked.Show()
EndIf
EndEvent
Message Property _00E_MQ17_TempleDoorBlocked Auto