Skip to reading
Visual Scripting in Depth

55. Walk to an NPC, face them and speak

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

Figure 36. Character Walk To can use an explicit position or a selected target in the room.

Source table from 55. Walk to an NPC, face them and speak, page 59
OrderNode / settings
1On Interact: talk, assigned to the NPC’s Talk response.
2Enable / Disable Player Input: false, if this sequence must control the player.
3Character Walk To: player; room lab; XYZ [1.5,0,1.2]; a suitable speed such as 2.8. Leave Object blank for explicit coordinates.
4Face Character: Character player; Face Character elias.
5Say: Speaker elias; the instruction about the brass key.
6Enable / Disable Player Input: true.

Choose a destination beside the NPC, not the NPC’s exact center. Characters need room for their collision and stopping distance. Confirm that the destination is inside reachable navigation.

The normal interaction system may already manage an input lock for its action chain. Add an explicit input toggle only when your sequence needs that policy, and restore it on every path that uses it.

A walk that cannot complete can hold the sequence before the speech. Test the movement by itself first, then add facing, dialogue and cleanup.

Page 59 of 93Permalink
Go to page