Difference between revisions of "waypointPosition"

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 15:51, 7 April 2019

Introduced with Operation Flashpoint version 1.5
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.5

Description

Description:
Returns Position of the given waypoint.

This command is identical to getWPPos

Syntax

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

Examples

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

Additional Information

Multiplayer:
-
See also:
waypointssetWaypointPositionwaypointHousePositionsetWPPos

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section