Skip to reading
Action Lists & Events

1. An event starts the work

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 PDF page

An event tells the game that something happened. The player clicked a button. A character entered a trigger. A room finished loading. An action is what you tell the game to do in response: show a message, give an item, move an NPC or change rooms.

An action list is several of those instructions in order. For a pickup, the instructions might be: give the key, remember that it was taken, add five points, and hide the key on the table. The event supplies the starting point; the list supplies the work.

Source table from 1. An event starts the work, page 5
PartQuestion it answersExample
EventWhen should this happen?The door's Use verb is selected.
ActionWhat should happen?Show a message.
Action fieldsTo whom, or with what value?Text: I need the key. Duration: 2.2 seconds.
ConditionWhich path should run?Does the player have the key?
ContextWhat happened in this particular call?The clicked entity ID and selected verb.

A list is not automatically a decision tree. If you put Remove Inventory before Change Scene, the scene change still runs even when there was no item to remove. Put the inventory check in a visual or text script, then call that script from the event.

Think of the event as the doorbell and the action list as what you do after it rings. Adding a second doorbell does not make the first one ring only once. One-time behavior needs a remembered condition.

Page 5 of 189Permalink
Go to page