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

Description

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

ArmA

Example

_wayP = groupname addWaypoint [fred, 10]

Advertisement