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.
13 lines
312 B
13 lines
312 B
Scriptname defaultDisableSelfOnActivate extends ObjectReference
|
|
{for anything that you want to disable itself once it's activated}
|
|
|
|
auto STATE WaitingToBeActivated
|
|
EVENT OnActivate (objectReference triggerRef)
|
|
Disable()
|
|
GoToState("Disabled")
|
|
EndEvent
|
|
EndState
|
|
|
|
STATE Disabled
|
|
;done doing stuff
|
|
endSTATE
|
|
|