Skip to reading
Visual Scripting in Depth

1. What a visual script does

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations

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.

Source table from 1. What a visual script does, page 5
TermMeaning in this guide
GraphOne Visual Script record, containing nodes and connections.
NodeOne event entry, action, question or flow instruction.
PortA connection point at the edge of a node.
Wire / connectionThe route from one output to the next node’s FLOW input.
CallerThe 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.

Page 5 of 93Permalink
Go to page