12. Award points only once
The flag now needs to control the reward. The rule is straightforward: if clock_wound is True, say that the clock is already running. Otherwise, set it to True and award ten points.
1. Open Visual Script Designer and create a script named Wind Clock Once, ID wind_once.
2. Use an On Interact entry node and set its verb to Use.
3. Add If Variable, Set Variable, Change Variable and two Show Message nodes. Use Add Node or find the node in the palette.
4. Give each message its appropriate text: “The clock is already running.” or “The clock starts ticking. Score: $$score.”
Figure 15. The complete graph. TRUE takes the short “already running” branch; FALSE takes the lower reward branch. Close-ups follow.
This compact version checks the flag and adds points. It deliberately leaves out the attempt counter and objective update from the earlier test sequence. Keep those extra actions on the appropriate branch if your game needs them.
A line between nodes controls the order. A node sitting nearby without a connecting flow line will not run as part of this interaction.
