waypoints: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns an array of waypoints for the specified unit/group. |= | | Returns an array of waypoints for the specified unit/group. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Array]] <nowiki>=</nowiki> '''waypoints''' groupName |= | | [[Array]] <nowiki>=</nowiki> '''waypoints''' groupName |SYNTAX= | ||
|p1= groupName: [[Group]] |= | |p1= groupName: [[Group]] |PARAMETER1= | ||
| [[Array]] of waypoints each in format [[Waypoint]] |= | | [[Array]] of waypoints each in format [[Waypoint]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 22: | Line 22: | ||
|x2=<code>_wPosArray = [[waypoints]] group10;</code> | |x2=<code>_wPosArray = [[waypoints]] group10;</code> | ||
could return [[EAST 1-1-A,0],[EAST 1-1-A,1],[EAST 1-1-A,2]] |= | could return [[EAST 1-1-A,0],[EAST 1-1-A,1],[EAST 1-1-A,2]] |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]], [[setWPPos]], [[waypointName]] | | [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]], [[setWPPos]], [[waypointName]] | ||
|= | |SEEALSO= | ||
}} | }} |
Revision as of 14:51, 7 April 2019
Description
- Description:
- Returns an array of waypoints for the specified unit/group.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Array = waypoints groupName
- Parameters:
- groupName: Group
- Return Value:
- Array of waypoints each in format Waypoint
Examples
- Example 1:
waypoints player;
- Example 2:
_wPosArray = waypoints group10;
could return [[EAST 1-1-A,0],[EAST 1-1-A,1],[EAST 1-1-A,2]]
Additional Information
- See also:
- deleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeedsetWPPoswaypointName
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