waypointPosition: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|") |
||
(32 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|Comments= | |||
____________________________________________________________________________________________ | |||
| ofp |Game name= | |||
|1.5|Game version= | |||
____________________________________________________________________________________________ | |||
| Returns [[Position]] of the given waypoint. <br><br> | |||
{{Informative | This command is identical to [[getWPPos]]}} |DESCRIPTION= | |||
____________________________________________________________________________________________ | |||
''' | | '''waypointPosition''' waypoint |SYNTAX= | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1= | |||
[[Array]] | | [[Array]] - format [[PositionAGL]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | |||
|x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code> |EXAMPLE1= | |||
____________________________________________________________________________________________ | |||
| [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]] |SEEALSO= | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
Note | <!-- Note Section END --> | ||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|WAYPOINTPOSITION]] | |||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.96|WAYPOINTPOSITION]] | |||
[[Category:Scripting Commands Armed Assault|WAYPOINTPOSITION]] | |||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]] |
Revision as of 20:58, 3 June 2020
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 Armed Assault
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Waypoints