Add Waypoints and paths: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Created page with "Refer also to: NPC Behaviour page, where the waypoints data model is explained."
 
No edit summary
 
Line 1: Line 1:
Refer also to: [[NPC Behavior Data Structures|NPC Behaviour page]], where the waypoints data model is explained.
Refer also to: [[NPC Behavior Data Structures|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:
1) Walk on top of an existing waypoints and then use
/path start
You have to be within 2 meters of the waypoint you want to start with.
2) Create new points with
/path point add
3) Stop the new path and create a waypoint at the end with
/path stop

Latest revision as of 22:07, 18 October 2022

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:

1) Walk on top of an existing waypoints and then use

/path start

You have to be within 2 meters of the waypoint you want to start with.

2) Create new points with

/path point add

3) Stop the new path and create a waypoint at the end with

/path stop