RGB tristate

The RGB tristate node is a specialized logic switcher that maps three distinct input conditions to three specific colors. It is primarily used for status indicators, such as "Error," "Standby," and "Active," allowing you to drive visual feedback based on complex game states.
When to use this node:
* Status Indicators: Creating a "traffic light" system for a puzzle. For example, Red for "Incorrect" (False), Yellow for "Neutral/Ready," and Green for "Correct" (True).
* Input Mapping: This node is highly flexible as it can be triggered by booleans, integers (-1, 0, 1), or specific string values, automatically switching the color and text state output accordingly.
* UI Labeling: Use the state output (e.g., state F, state N, state T) to update a text label on a screen while simultaneously changing the background or LED color.
Pro Tip:
This node is perfect for monitoring the health of a system. If an input falls to a "failed" state, the node can instantly switch the room's ambient lighting to a pre-configured "Failure" color defined in the RGB F property.
Connectors in
- value_bol [type: bool]
- value_int [type: integer]
- value_str [type: string]
- isTrue [type: bool]
- isNeutral [type: bool]
- isFalse [type: bool]
- RGB F [type: rgb]
- RGB N [type: rgb]
- RGB T [type: rgb]
Connectors out
- output [type: rgb]
- state [type: string]
Node properties
- RGB F [type: rgb]
- RGB N [type: rgb]
- RGB T [type: rgb]
- state F [type: string]
- state N [type: string]
- state T [type: string]