Unknown

From DarkAI

AI ADD WAYPOINT

This command adds a waypoint to a container at the specified position. The waypoint will not be used until it is linked into the waypoint network using AI Update Waypoint Visibility on the container, this allows you to add many waypoints before performing the expensive update operation. Waypoints are linked by their visibility to other waypoints, so if the waypoint is inside an obstacle or completely surrounded by them it will not be used in path finding.

No obstacle need to exist to add waypoints, waypoints can be added to any position in the container.

Waypoints are added to the beginning of the waypoint list.

Syntax
AI Add Waypoint Container Number, Position X#, Position Z#

Parameters
Container Number, The id of the container you want to add the waypoint to, must exist.
Position X#, The X component of the waypoint position, in world co-ordinates.
Position Z#, The Z component of the waypoint position, in world co-ordinates.

Return
n/a