Skip to main content

Conditional Value Nodes

Conditional Value Node
Conditional Value Node

Conditional value nodes allow a value to be chosen from two possible values during dialogue playback, based on a boolean value.

If the boolean value evaluates to TRUE, the first (top) value will be sent to the value output, otherwise the second (bottom) value will be sent.

The conditional value node must have a type selected (string, int, float, or boolean), which determines the type of value that is being selected and the value input and value output types.

The boolean value can either be set via the boolean dropdown, or you can pass it into the boolean input from another node.

Each value can either be passed in via the corresponding inputs, or typed into the provided text field.

Each conditional value node contains one dialogue flow input, one dialogue flow output, a boolean input for choosing a value, an input for each value, and an output for the specified value type.