Add Waypoints and paths: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
If you want to extend the path network in a certain direction, do this: | 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 | 1) Walk on top of an existing waypoints and then use | ||
/path start | /path start 0.5 | ||
You have to be within 2 meters of the waypoint you want to start with. | 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 | 2) Create new points with | ||
/path point add | /path point add | ||
3) Stop the new path and create a waypoint at the end with | 3) Stop the new path and create a waypoint at the end with | ||
/path stop | /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. | |||
Latest revision as of 17:33, 8 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.