Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
19 lines
367 B
19 lines
367 B
3 years ago
|
Scriptname _00E_BlockActivationForPlayer extends ObjectReference
|
||
|
|
||
|
Event OnInit()
|
||
|
|
||
|
Self.BlockActivation(True)
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Event OnActivate(ObjectReference akActionRef)
|
||
|
|
||
|
If akActionRef == Game.GetPlayer() && Self.IsActivationBlocked()
|
||
|
_00E_BlockedMessage.Show()
|
||
|
Else
|
||
|
Self.Activate(akActionRef, True)
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Message Property _00E_BlockedMessage Auto
|