Set the condition and connect both branches
| Node | Settings |
|---|---|
| If Variable | Variable Clock Wound(clock_wound); Equals True; Blank / null off. |
| Set Variable | Variable Clock Wound(clock_wound); Value True; Blank / null off. |
| Change Variable | Variable Score(score); Operation add; Value 10. |
| First Show Message | The clock is already running. |
| Second Show Message | The clock starts ticking. Score: $$score. |
1. Connect On Interact’s NEXT output to If Variable’s FLOW input.
2. Connect If Variable’s TRUE output to the “already running” message.
3. Connect its FALSE output to Set Variable.
4. Connect Set Variable → Change Variable → the “starts ticking” message.
5. Use Auto Arrange or move the nodes until you can follow both paths. Save the project.
Figure 16. The condition compares clock_wound with Boolean True. The TRUE and FALSE sockets lead to different actions.
If the variable is False, the equality test is False, so the game follows FALSE and performs the reward. After Set Variable changes the flag to True, later calls follow TRUE instead.
