Mod:Creation Kit/GetState - ScriptObject

Member of: ScriptObject

Obtains the current state of the script, as a string.

Syntax
string Function GetState

Parameters
None

Return Value
The script's current state, as it was last set by a GotoState call.

Examples
if (GetState == "Running") Debug.Trace("We are currently in the running state") endIf
 * Is this object currently in the "Running" state?