Mod:Creation Kit/GotoState - ScriptObject

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Member of: ScriptObject

Sets this object's current state, issuing OnBeginState - ScriptObject and OnEndState - ScriptObject events as necessary.

Parameters

 * asNewState: The state to go to. Subsequent calls to GetState will return this string exactly as passed in. The state name is not case-sensitive.

Return Value
None.