Skip to content

Case bool

97

The Case bool node behaves similarly to the standard Case node but provides persistent boolean outputs instead of momentary actions. This allows you to maintain a specific state based on the last matched value.

When to use this node: * Selection Status: Driving visual indicators (like LEDs) that stay on to show which mode or item is currently selected by the players. * Mode Switching: Maintaining a "Game Mode" state (e.g., Easy, Medium, Hard) across the entire diagram. * Inventory Tracking: Setting a persistent boolean outX to true when a player scans a specific quest item at a central hub.

Connectors in

  • value [type: variant]
  • is0 [type: string]
  • is1 [type: string]
  • is2 [type: string]
  • is3 [type: string]
  • is4 [type: string]
  • is5 [type: string]
  • is6 [type: string]
  • is7 [type: string]

Connectors out

  • res [type: integer]
  • out0 [type: bool]
  • out1 [type: bool]
  • out2 [type: bool]
  • out3 [type: bool]
  • out4 [type: bool]
  • out5 [type: bool]
  • out6 [type: bool]
  • out7 [type: bool]

Node properties

  • is0 [type: string]
  • is1 [type: string]
  • is2 [type: string]
  • is3 [type: string]
  • is4 [type: string]
  • is5 [type: string]
  • is6 [type: string]
  • is7 [type: string]