addWaypoint: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Adds a new waypoint to a group. The waypoint is placed randomly in a circle with the given center and radius. | | Adds a new waypoint to a group. The waypoint is placed randomly in a circle with the given center and radius. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 18: | Line 18: | ||
|p3= radius: [[Number]] ? |= Parameter 3 | |p3= radius: [[Number]] ? |= Parameter 3 | ||
| [[Array]] |= Return value | | [[Array]] - a waypoint with format <code>[group, index]</code> |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 11:16, 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.
- Groups:
- Uncategorised
Syntax
- Syntax:
- group addWaypoint [center, radius]
- Parameters:
- group: Group
- center: Position ?
- radius: Number ?
- Return Value:
- Array - a waypoint with format
[group, index]
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