enderalse/source/scripts/ga_00e_duestercantopenscpt.psc

29 lines
689 B
Plaintext
Raw Normal View History

2024-01-16 01:56:39 +00:00
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