Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Returns the position of a selected waypoint of a given group.

The returned Z-value is always 0, even if an elevation was defined. To read those aircraft waypoint properties, use the object variable Waypoints. For example:

[group player ,2] getVariable "WAYPOINT_AIR"

Syntax

Syntax:getWPPos waypoint
Parameters:
Return Value:Position3D - Position of waypoint. If [0,0,0] is returned, then the selected waypoint does not exist.

Examples

Examples:[_group1,1] setWPPos [200,600,0]
_pos = getWPPos [_group1,1]
returns [200,600,0]

Additional Information

See also: setWPPos
Multiplayer: 
Problems: 

Notes