OnEndState - ScriptObject
From Creation Kit
Member of: ScriptObject
Event called when the state the event is in about to be switched away from.
Contents
Syntax
Event OnEndState(string asNewState)
Parameters
- asNewState: The state that the script will be switching to after this one ends.
Example
State Running Event OnEndState(string asNewState) Debug.Trace("Leaving the running state and going to the " + asNewState+ " state!") EndEvent EndState