Compare Str

The Compare Str node is the primary way to verify player input against a correct answer. It compares two text strings and provides both a boolean result and immediate action triggers for true or false outcomes.
When to use this node:
* Password Verification: Checking if a code entered into a terminal matches the secret "solution" string.
* Riddle Solutions: Validating text-based answers to puzzles.
* Case-Insensitive Matching: Enabling the ignore case property so that "Ghost" and "ghost" are both accepted as correct.
Pro Tip:
Connect the true output to a set Game State node to automatically advance the game as soon as the correct word is entered.
Connectors in
- A [type: string]
- B [type: string]
Connectors out
- result [type: bool]
- true [type: action]
- false [type: action]
Node properties
- A [type: string]
- B [type: string]
- ignore case [type: bool]