Skip to content

bool2str

102

The bool2str node translates logic states (true/false) into human-readable text. It is a vital tool for creating intuitive user interfaces, allowing you to define exactly what players or operators see when a specific condition is met.

When to use this node: * Status Displays: Converting a door's logic state into text like "LOCKED" or "UNLOCKED" for a monitor. * Confirmation Messages: Changing a successful scan into a "YES" or "ACCESS GRANTED" string. * Toggle Labels: Creating dynamic buttons that switch their caption between "ON" and "OFF" based on their current state.

Pro Tip: Use the true and false properties to customize the language of your UI instantly without changing any underlying game logic.

Connectors in

  • bool [type: string]

Connectors out

  • str [type: integer]

Node properties

  • false [type: string]
  • true [type: string]