GetState - ScriptObject
Revision as of 11:22, 3 December 2015 by imported>Plplecuyer (→Examples)
Member of: ScriptObject
Obtains the current state of the script, as a string.
SyntaxEdit
string Function GetState()
ParametersEdit
None
Return ValueEdit
The script's current state, as it was last set by a GotoState call.
ExamplesEdit
; Is this object currently in the "Running" state?
if (GetState() == "Running")
Debug.Trace("We are currently in the running state")
endIf