addWaypoint: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.86|= Game version | |||
____________________________________________________________________________________________ | |||
| 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]. |= Description | |||
____________________________________________________________________________________________ | |||
| group '''addWaypoint''' [center, radius] |= Syntax | |||
|p1= group [[Group]] |= Parameter 1 | |||
|p2= [center, radius] [[Array]] |= Parameter 2 | |||
| [[Array]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>grp addWaypoint [ [[position]] [[player]], 0]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|ADDWAYPOINT]] | |||
[[Category:Scripting Commands OFP Elite |ADDWAYPOINT]] | |||
[[Category:Scripting Commands ArmA|ADDWAYPOINT]] | |||
Revision as of 21:57, 1 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, radius] Array
- Return Value:
- Array
Examples
- Example 1:
grp addWaypoint [ [[position]] [[player]], 0]
Additional Information
- See also:
- See also needed
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