Warning: file_put_contents(/ff_db77056703e84c4711cacfbd23a84e26314ef939d6fb8404.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
addWaypoint - OFPEC Scripting Command Reference | OFPEC The Editing Center

groupName addWaypoint [center, radius]

Operand types

groupName: Group
[center, radius]: Array

Type of returned value


Adds a new waypoint to a group.
The waypoint is placed randomly in a circle with the given center and radius.
center can be a named object or an array with format Position.
The function returns an array with format Waypoint.

Used In



_wayP = groupname addWaypoint [fred, 10]