Visual Scripting

Integrate with Game Creator 2's visual scripting system

State Machine 2 provides a comprehensive set of Visual Scripting components that integrate seamlessly with Game Creator 2's action system.

Overview

All components are organized into four categories:

Category
Description

Instructions

Actions to control state machines (run, enable, disable, stop nodes)

Conditions

Check node states (is running, is enabled)

Events

React to variable changes

Properties

Read and write state machine variables

Asset vs Runner

State Machine 2 offers two modes for each component:

Mode
Scope
Use Case

Asset

Affects all runners using the state machine asset

Global game state, shared behavior

Runner

Affects only a specific runner instance

Per-character state, individual objects

Best Practice: Use Runner components for most gameplay scenarios. Use Asset components only for truly global state that should be shared across all instances.

Quick Reference

Instructions

Control state machine execution:

Conditions

Check state machine states:

Events

React to state changes:

Properties

Read and write variables from anywhere in Game Creator 2:

Finding Components in the Editor

All State Machine 2 visual scripting components are organized in the search menu:

Last updated

Was this helpful?