Skip to content

IF true with values (string)

76

The IF true with values (string) node is a text-focused version of the value switcher. It outputs a string based on a boolean input and uniquely provides a valueNEG pin, which simultaneously outputs the opposite string for easier dual-label logic.

When to use this node: * Status Labels: Toggling a display between "POWER ON" and "POWER OFF" with a single boolean input. * Narrative Branching: Providing different text clues to players based on whether they have found a specific item. * Bidirectional UI: Using the value and valueNEG pins to update two different screen elements (e.g., "Active" and "Inactive" lists) at the same time.

Connectors in

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

Connectors out

  • value [type: string]
  • valueNEG [type: string]
  • result [type: bool]
  • true [type: action]
  • false [type: action]

Node properties

  • ifFalse [type: string]
  • ifTrue [type: string]