Warning: file_put_contents(/ff_42f4e6ae6094b881edfa3bd1f9681a956ddef167effd8734.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]