4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
401 B

Scriptname _00E_BlockActivationForPlayer extends ObjectReference
Event OnInit()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer() && Self.IsActivationBlocked()
If _00E_BlockedMessage
_00E_BlockedMessage.Show()
EndIf
Else
Self.Activate(akActionRef, True)
EndIf
EndEvent
Message Property _00E_BlockedMessage Auto