waypointPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| ofp | |game1= ofp | ||
|version1= | |||
| | |game2= ofpe | ||
|version2= 1.00 | |||
|game3= arma1 | |||
|version3= 1.00 | |||
|game4= arma2 | |||
|version4= 1.00 | |||
|game5= arma2oa | |||
|version5= 1.50 | |||
|game6= tkoh | |||
|version6= 1.00 | |||
|game7= arma3 | |||
|version7= 0.50 | |||
|gr1= Waypoints | |gr1= Waypoints | ||
| Returns [[Position]] of the given waypoint. {{Feature | Informative | This command is identical to [[getWPPos]]}} | |descr= Returns [[Position]] of the given waypoint. {{Feature | Informative | This command is identical to [[getWPPos]]}} | ||
| | |s1= [[waypointPosition]] waypoint | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] | |p1= waypoint: [[Array]] - format [[Waypoint]] | ||
Line 19: | Line 36: | ||
|seealso= [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]] | |seealso= [[waypoints]], [[setWaypointPosition]], [[waypointHousePosition]], [[setWPPos]] | ||
}} | }} | ||
Revision as of 22:00, 12 June 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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Waypoints