addWaypoint: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 16: | Line 16: | ||
|p2= center: [[Position]] ? |= Parameter 2 | |p2= center: [[Position]] ? |= Parameter 2 | ||
|p3= radius: [[Number]] ? |= Parameter 3 | |||
| [[Array]] |= Return value | | [[Array]] |= Return value |
Revision as of 11:15, 2 August 2006
Description
- 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].
- Groups:
- Uncategorised
Syntax
- Syntax:
- group addWaypoint [center, radius]
- Parameters:
- group: Group
- center: Position ?
- radius: Number ?
- Return Value:
- Array
Examples
- Example 1:
grp addWaypoint [ [[position]] [[player]], 0]
Additional Information
- See also:
- deleteWaypoint
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note