7. Build your first message graph
1. Create the first_message record if you have not already done so.
2. Add On Interact. Set Verb to Use(use).
3. Add Show Message. Enter: The switch clicks. Nothing explodes. A good start. Leave Typewriter Effect off for the first test.
4. Add End. Put the three nodes in reading order.
5. Connect On Interact NEXT to Show Message FLOW. Connect Show Message NEXT to End FLOW.
6. Save the project and press Run Script. You should see the message in the game preview.
Figure 8. The first complete chain. Node placement makes it easy to read, while the wires determine the real order.
Show Message uses a short timed display. In this build its inline form exposes message text, voice fields and typewriter options; duration may appear only in the summary. The default is about 1.8 seconds. A hidden optional field can be changed through the record’s Raw JSON when necessary; see lesson 68.
On Interact is an entry and verb check. It does not discover a switch in the room and attach itself to it. The assignment is a separate step in lesson 11.
