addWaypoint: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 26: | Line 26: | ||
Adds a new waypoint to a '''group'''. | Adds a new waypoint to a '''group'''. | ||
The waypoint is placed randomly in a circle with the given center and radius. | The waypoint is placed randomly in a circle with the given '''center''' and '''radius'''. | ||
The function returns a waypoint with format [group, index]. | The function returns a waypoint with format [group, index]. |
Revision as of 15:44, 6 July 2006
group addWaypoint [center, radius]
Operand types:
group: Group
[center, radius]: Array
Type of returned value:
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: