getMarkerPos: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 10: | Line 10: | ||
| Returns marker position. See also [[setMarkerPos]]. | | Returns marker position. See also [[setMarkerPos]]. | ||
{{Informative | This command is identical to [[markerPos]].}} | {{Feature | Informative | This command is identical to [[markerPos]].}} | ||
| [[getMarkerPos]] markerName | | [[getMarkerPos]] markerName |
Revision as of 00:10, 7 February 2021
Description
- Description:
- Description needed
- Groups:
- Markers
Syntax
- Syntax:
- Syntax needed
- Parameters:
- markerName: String
- Return Value:
- Return value needed
Alternative Syntax
- Syntax:
- getMarkerPos [markerName, preserveElevation] Template:Since
- Parameters:
- [markerName, preserveElevation]: Array
- markerName: String
- preserveElevation (Optional): Boolean Default: false
- Return Value:
- Array - format PositionAGL if preserveElevation is true or [x,y,0] if preserveElevation is false
Examples
- Example 1:
_mPos1 = getMarkerPos "markerOne";
- Example 2:
_mPos2 = getMarkerPos ["markerTwo", true];
Additional Information
- See also:
- See also needed
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