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
308 B
13 lines
308 B
scriptName defaultSetEnableStateOnReset extends ObjectReference
|
|
{Enables or disables this object on reset.}
|
|
|
|
bool property EnableOnReset = True Auto
|
|
{Should this object be enabled or disabled on reset? Default: TRUE}
|
|
|
|
Event OnReset()
|
|
if (EnableOnReset)
|
|
Self.Enable()
|
|
Else
|
|
Self.Disable()
|
|
EndIf
|
|
EndEvent |