Skip to reading
The Text Parser

Walk to coordinates in a 3D scene

Edition 0.86.3.4

Teach your adventure verbs and synonyms, add command input and connect typed instructions to real game actions.

Download PDFView illustrations

walkable area still matter.

The parser also accepts numeric destinations. Use this mainly for author testing or a game that deliberately exposes coordinates.

Source table from Walk to coordinates in a 3D scene, page 36
SentenceInterpretation
walk 2 1X = 2, Z = 1, with the player's current height
walk 2 0 1X = 2, Y = 0, Z = 1 when parsed; walking is kept at the player's height

Figure 30. The ordinary preview can identify a numeric destination when no named target matches.

This is navigation, not teleportation. The player follows a walkable path. An unreasonable destination can be refused with That destination is not on a walkable path. A third number is not a way to make the player fly to another floor.

Use two or three numbers cleanly. With more numeric values, the current parser uses the last three. Avoid mixing a recognised object name and coordinates in the same walking sentence: a matched scene entity can take priority over the numbers.

The coordinate example was checked in the 3D workshop. Test your own room type and navigation arrangement before offering coordinate commands to players.

Page 36 of 41Permalink
Go to page