1. What a visual script does
A visual script is a set of instructions joined by wires. An instruction might give the player an item, test a variable, play an animation or open a GUI. The wire tells the game which instruction to visit next.
Figure 2. A working three-node graph. Follow the wire from On Interact, through Show Message, to End.
This first graph says: when it is called with the Use verb, show a message, then finish. Nothing in that sentence requires a text programming language. You still need to decide what the game should do, in what order, and under which conditions.
| Term | Meaning in this guide |
|---|---|
| Graph | One Visual Script record, containing nodes and connections. |
| Node | One event entry, action, question or flow instruction. |
| Port | A connection point at the edge of a node. |
| Wire / connection | The route from one output to the next node’s FLOW input. |
| Caller | The object or other record whose event started the work. |
The wires carry execution order. Values are entered in fields or read through expressions. You do not connect a score-value wire to a separate arithmetic socket in this editor.
