Add Waypoints and paths: Difference between revisions
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
/path format Ghosts_{0} 4 | /path format Ghosts_{0} 4 | ||
The first waypoint will be Ghosts_4 | The first waypoint will be Ghosts_4 | ||
== Aliases == | |||
To add an alias to a waypoint, stand on it, and do: | |||
/path alias add MaeleenHome | |||
Latest revision as of 18:32, 29 November 2026
Refer also to: NPC Behaviour page, where the waypoints data model is explained.
Extending an existing path network
If you want to extend the path network in a certain direction, do this:
0) Define the format of the new waypoint name:
/path format Ghosts_{0}
1) Walk on top of an existing waypoints and then use
/path start 0.5
You have to be within 2 meters of the waypoint you want to start with. The 0.5 will be the radius of the waypoint, if you don't specify it the radius will be 2 meters.
2) Create new points with
/path point add
3) Stop the new path and create a waypoint at the end with
/path stop 0.5
Same as for start, the 0.5 will be the radius of the waypoint, if you don't specify it the radius will be 2 meters.
Restart numbering
If you want to restart from an existing number use:
/path format Ghosts_{0} 4
The first waypoint will be Ghosts_4
Aliases
To add an alias to a waypoint, stand on it, and do:
/path alias add MaeleenHome