CONNECTIONS

Chance Connection

Randomly selects one path based on weighted probability

Chance Connection
Chance Connection

The Chance Connection allows you to influence whether the flow continues or not based on Chance. If an Output connector has multiple Chance Connections, it will only pick 1 of them. With multiple Chance Connections it uses a weighted random system. If there is only one Chance connection, set to 30% for example, there's a 70% chance that the flow ends there as it will not continue. Chance Connections are blue.

Connection All Chance
Connection All Chance

In this example, the chances are weighted and a single connection is chosen.

Inspector Fields

Each field below is available on this node in the inspector.

FieldTypeDescription
Connection Type
string

The type of connection. Set to "Chance" for weighted random selection.

chance

Chance (%)
numberstring

Percentage chance (0-100) that this connection is selected. Can be a fixed number or a variable reference like {{luckVariable}}. Automatically clamped to 0-100 range for numeric values.

Number (0-100) or variable reference (e.g., {{variableName}})