Skip to content

IF true with values

75

The IF with values nodes evaluate a condition and immediately output one of two specified data values (ifTrue or ifFalse). IF with values performs a comparison between two inputs, while IF true with values simply reacts to a single boolean input.

When to use this node: * Logic-Driven UI: Switching a dashboard label or color index based on a sensor reading. * Parameter Toggling: Sending a "Locked" value (e.g., 1) or "Unlocked" value (e.g., 0) to a hardware pin based on a game state. * Dynamic Messaging: Selecting which numerical code to display on a monitor based on the current game difficulty.

Connectors in

  • input [type: bool]
  • ifTrue [type: variant]
  • ifFalse [type: variant]

Connectors out

  • value [type: variant]
  • result [type: bool]
  • true [type: action]
  • false [type: action]

Node properties

  • ifFalse [type: integer]
  • ifTrue [type: integer]