addWaypoint

From Bohemia Interactive Community
Revision as of 16:36, 6 July 2006 by Hoz (talk | contribs)
Jump to navigation Jump to search



group '' addWaypoint ''[center, radius]


Operand types:

group: Group

[center, radius]: Array

Type of returned value:

Array

Compatibility:

Version 1.86 required.

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].

Example:

grp addWaypoint [position player, 0]