11. Make a Help command with visual nodes
Figure 19. Project Validation catches a custom command with no assigned script. This is an intentionally incomplete row, not a working command.
Use a Visual Script when you want to assemble the response without writing source code. The example remembers that Help was used, then shows a short instruction.
1. Add a Boolean variable help_used, with default value False, if you want to record whether help was requested. You can omit this variable and its node for a simpler message-only script.
2. Open Visual Script Designer and click Add New.
3. Name the script Parser Help (Visual) and give it an ID such as parser_help_nodes.
4. Add an On Interact entry node if the graph does not already have an entry.
5. Add Set Variable. Select help_used and choose True.
6. Add Show Message. Enter Try examine the timepiece or wind the clock.
7. Connect the entry's Next output to Set Variable's Flow input, then Set Variable's Next output to Show Message's Flow input.
