enderalse/source/scripts/_00e_theriantrophist_blockcraftingsc.psc

18 lines
535 B
Plaintext
Raw Normal View History

Scriptname _00E_Theriantrophist_BlockCraftingSC extends ObjectReference
Actor Property PlayerREF Auto
Message Property _00E_Theriantrophist_CantCraftMSG Auto
Race Property _00E_Theriantrophist_PlayerWerewolfRace Auto
Bool bActivationBlocked = False
; This script is obsolete since 2.0.12 and has been replaced with a perk
Event OnActivate(ObjectReference akActionRef)
; Unlock activators, blocked by previous version of the script
if IsActivationBlocked()
BlockActivation(False)
Activate(akActionRef, true)
endif
EndEvent