waypointPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "PositionAGL" to "PositionAGL")
Line 30: Line 30:
|p1= waypoint: [[Array]] - format [[Waypoint]]
|p1= waypoint: [[Array]] - format [[Waypoint]]


|r1= [[Array]] - format [[PositionAGL]]
|r1= [[Array]] - format [[Position#PositionAGL|PositionAGL]]


|x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code>
|x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code>

Revision as of 16:53, 5 January 2022

Hover & click on the images for description

Description

Description:
Returns Position of the given waypoint.
This command is identical to getWPPos
Groups:
Waypoints

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