Skip to reading
Action Lists & Events

11. Attach the greeting to a trigger

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

1. Add a trigger volume in a reachable part of the room. Name it Welcome Area.

2. Open Trigger Events. Under Player Collision / Entry, choose Run Visual Script.

3. Select Welcome, Once. Apply Changes and save.

4. Start outside the volume in Test Scene, walk into it, walk out, and walk in again.

5. The first entry should show the greeting; later entries should reach the graph's End branch.

Figure 9. Player Collision / Entry calls the selected reusable script.

The checked 3D entry/exit path listens to the active player, not every NPC that happens to overlap the box. A trigger can also have direct click and verb responses, but those are separate event routes.

Place the volume on the path the player actually walks, including the correct height. A visible editor outline is a guide to a volume; it is not proof that the player's collider crossed it. Test starting inside the volume as a separate case.

Page 15 of 189Permalink
Go to page