NARRATIVE
Compare two values
Compares two values and goes through Yes if the comparison holds, No otherwise.
Use cases
Pick a path based on a math comparison: vitality > 50, gold == 0, level >= 10.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Operator | — | No | Greater than, less than, equal, not equal, etc. |
| First value | — | No | Wire a value (e.g. vitality from a Get block). |
| Second value | — | No | Wire a value or set a fixed number. |
→ In-game result
{
"action": "Compare",
"operator": "...",
"first_value": "...",
"second_value": "..."
} In-game result
Goes through Yes or No depending on the comparison result.