#PathDir
Also searchable as: #PathDir · PathDir
#PathDir is the direction of a step of the planned route, numbered as #CharDir:
| Value | Direction | Value | Direction |
|---|---|---|---|
| 0 | North | 4 | South |
| 1 | North-east | 5 | South-west |
| 2 | East | 6 | West |
| 3 | South-east | 7 | North-west |
8 marks a step through a path link (a teleporter, a gate). -1 means there is
no step: before any route, when the route has no steps, or after path can.
See #PathX for which step it is after each path command.
Example
Section titled “Example”path find 1823 2821path get 1display ok The first step goes #PathDirhalt