waypointPosition: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (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]]}} |= | {{Informative | This command is identical to [[getWPPos]]}} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''waypointPosition''' waypoint |= | | '''waypointPosition''' waypoint |SYNTAX= | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] |= | |p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1= | ||
| [[Array]] - format [[PositionAGL]] |= | | [[Array]] - format [[PositionAGL]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code> |= | |x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]] |= | | [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]] |SEEALSO= | ||
}} | }} |
Revision as of 14:51, 7 April 2019
Description
- Description:
- Returns Position of the given waypoint.
- 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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.5
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Waypoints