waypoints: Difference between revisions

From Bohemia Interactive Community
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. |= Description
| Returns an array of waypoints for the specified unit/group. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Array]] <nowiki>=</nowiki> '''waypoints''' groupName |= Syntax
| [[Array]] <nowiki>=</nowiki> '''waypoints''' groupName |SYNTAX=


|p1= groupName: [[Group]] |= Parameter 1
|p1= groupName: [[Group]] |PARAMETER1=


| [[Array]] of waypoints each in format [[Waypoint]] |= Return value
| [[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]] |= Example 1
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]]
|= See also
|SEEALSO=


}}
}}

Revision as of 15:51, 7 April 2019

-wrong parameter ("Arma") defined!-1.05
Hover & click on the images for description

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

Notes

Bottom Section