getMarkerPos: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
||
Line 20: | Line 20: | ||
|s2= [[getMarkerPos]] [markerName, preserveElevation] {{Since|arma3|1.93|y}} | |s2= [[getMarkerPos]] [markerName, preserveElevation] {{Since|arma3|1.93|y}} | ||
|p21= [markerName, preserveElevation]: [[Array]] | |p21= [markerName, preserveElevation]: [[Array]] | ||
|p22= markerName: [[String]] | |p22= markerName: [[String]] | ||
|p23= preserveElevation (Optional): [[Boolean]] Default: [[false]] | |p23= preserveElevation (Optional): [[Boolean]] Default: [[false]] | ||
|r2= [[Array]] - format [[PositionAGL]] if ''preserveElevation'' is [[true]] or [x,y,0] if ''preserveElevation'' is [[false]] | |r2= [[Array]] - format [[PositionAGL]] if ''preserveElevation'' is [[true]] or [x,y,0] if ''preserveElevation'' is [[false]] |
Revision as of 18:11, 29 January 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