Instructions
Actions to control state machine execution
Instructions are actions you can use in Game Creator 2 Actions, Hotspots, or any other visual scripting context to control state machines.
Runner Instructions
These instructions work with State Machine Runner components on specific GameObjects, affecting only that instance.
Executes a specific node on a target runner
Executes a node and passes variable values before execution
Re-enables a previously disabled node
Disables a node, preventing it from executing
Immediately stops a currently running node
Iterates through a list and executes a node for each element
Asset Instructions
These instructions work directly with State Machine Asset files, affecting all runners using that asset.
Executes a node directly on a State Machine asset
Enables a node in the State Machine asset
Disables a node in the State Machine asset
Stops a running node in the State Machine asset
Asset Instructions affect all runners using that State Machine asset. Use with caution in multiplayer or when multiple instances exist.
Usage Example
Last updated
Was this helpful?