waypointPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| ofp | | ofp | ||
|1.5 | |1.5 | ||
|gr1= Waypoints | |gr1= Waypoints | ||
| 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]]}} | ||
| '''waypointPosition''' waypoint | | '''waypointPosition''' waypoint | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] | |p1= waypoint: [[Array]] - format [[Waypoint]] | ||
| [[Array]] - format [[PositionAGL]] | | [[Array]] - format [[PositionAGL]] | ||
|x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code> | |x1= <code>_wPos = [[waypointPosition]] [_groupOne, 1];</code> | ||
| [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]] | | [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]] | ||
}} | }} |
Revision as of 11:43, 18 January 2021
Description
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.5
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Waypoints
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands