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.
 
 
 

20 lines
389 B

scriptName defaultOnActivateEnableScript extends ObjectReference
import game
import debug
import utility
ObjectReference Property RefToBeEnabled auto
auto State WaitingToBeActivated
EVENT onActivate(ObjectReference triggerRef)
if triggerRef == getPlayer() as actor
RefToBeEnabled.enable()
gotoState("Activated")
endif
endEVENT
EndState
State Activated
;Do nothing
EndState