ScriptName GA_00E_DuesterCantOpenSCPT Extends ObjectReference ;-- Variables --------------------------------------- ;-- Properties -------------------------------------- Message Property MessagePopUp Auto ObjectReference Property MyDoor Auto Int Property Next = 0 Auto ;-- Functions --------------------------------------- ; Skipped compiler generated GetState ; Skipped compiler generated GotoState Event OnLoad() If Next == 0 MyDoor.BlockActivation(True) Debug.Notification("Block Activation.") Next = 1 EndIf EndEvent Event onActivate(ObjectReference akActionRef) If Next == 1 MessagePopUp.Show(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) EndIf EndEvent