addWaypoint
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.00
Description
- Description:
- Adds a new waypoint to a group.
The waypoint is placed randomly in a circle with the given center and radius.
Syntax
- Syntax:
- Waypoint = Group addWaypoint [center, radius]
- Parameters:
- Group
- center: Position
- radius: Number
- Return Value:
- Waypoint: Array - format
[group, index]
Examples
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- deleteWaypoint
Notes
Notes
Notes
-
After you add a waypoint, you'll also need to use the setWaypointType command in order to use it. In most cases, you would want to set its type to "move". --General Barron 23:24, 26 August 2008 (CEST)

