waypointPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(position AGL is wanted)
m (template:command argument fix)
Line 8: Line 8:


| Returns [[Position]] of the given waypoint. <br><br>
| Returns [[Position]] of the given waypoint. <br><br>
{{Informative | This command is identical to [[getWPPos]]}} |= Description
{{Informative | This command is identical to [[getWPPos]]}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''waypointPosition''' waypoint |= Syntax
| '''waypointPosition''' waypoint |SYNTAX=


|p1= waypoint: [[Array]] - format [[Waypoint]] |= Parameter 1
|p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1=


| [[Array]] - format [[PositionAGL]] |= Return value
| [[Array]] - format [[PositionAGL]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code> |= Example 1
|x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]] |= See also
| [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]] |SEEALSO=


}}
}}

Revision as of 14:51, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns Position of the given waypoint.

This command is identical to getWPPos
Groups:
Uncategorised

Syntax

Syntax:
waypointPosition waypoint
Parameters:
waypoint: Array - format Waypoint
Return Value:
Array - format PositionAGL

Examples

Example 1:
_wPos = waypointPosition [_groupOne, 1];

Additional Information

See also:
waypointssetWaypointPositionwaypointHousePositionsetWPPos

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