GetState - All Scripts
From Creation Kit
Member of: Any and all scripts.
Obtains the current state of the script, as a string.
string Function GetState()
The script's current state, as it was last set by a GotoState call.
; Is this object currently in the "Running" state? if (GetState() == "Running") ; case-sensitive! Debug.Trace("We are currently in the running state") endIf