Skip to content

Condition Node

Condition is how a route reacts to story state. It checks variables, then sends the player down the first branch that matches.

Use Insert > Dialogue & Logic > Branch on Variable when the story should change because of earlier choices, scores, flags, or typed text.

FieldWhat it does
NameOptional editor-only name for the node.
BranchesUp to 4 variable checks, each with its own target node.
OtherwiseOptional target used when no branch matches.
OperatorMeaning
equalsVariable equals the value.
not_equalsVariable does not equal the value.
greater_thanNumber variable is greater than the value.
less_thanNumber variable is less than the value.
truthyVariable counts as true or present.
falseyVariable counts as false or absent.

When the node runs, VNC checks branches in order. The first matching branch wins. If no branch matches, the node follows Otherwise when it is set.

If no branch matches and Otherwise is empty, the current path ends.

ProblemFix
The wrong branch runsPut the most specific branch first.
A branch never runsCheck the variable kind and operator.
A route stops unexpectedlySet Otherwise or make sure one branch always matches.
Number comparison behaves strangelyUse a number variable, not a string variable.

Conditions are easiest to debug when each branch points to a small named node. The Story Map then shows the route shape clearly.