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.
20 lines
389 B
20 lines
389 B
5 months ago
|
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
|