addWaypoint

From Bohemia Interactive Community
Revision as of 11:15, 2 August 2006 by Hardrock (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Adds a new waypoint to a group. The waypoint is placed randomly in a circle with the given center and radius. The function returns a waypoint with format [group, index].
Groups:
Uncategorised

Syntax

Syntax:
group addWaypoint [center, radius]
Parameters:
group: Group
center: Position ?
radius: Number ?
Return Value:
Array

Examples

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

Additional Information

See also:
deleteWaypoint

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section