waypointPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "PositionAGL" to "PositionAGL")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 34: Line 34:
|x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code>
|x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code>


|seealso= [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]]
|seealso= [[waypoints]] [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]]
}}
}}

Revision as of 20:49, 20 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:
waypoints setWaypointPositionwaypointHousePositionsetWPPos

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