addWaypoint

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00

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

Example 1:
_wp = grp addWaypoint [ position player, 0]

Additional Information

Multiplayer:
Behaviour unknown.
See also:
deleteWaypoint

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

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)

Bottom Section

Personal tools
Buy ArmA now!