getMarkerPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
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]] |PARAMETER21=
|p21= [markerName, preserveElevation]: [[Array]]


|p22= markerName: [[String]] |PARAMETER22=
|p22= markerName: [[String]]


|p23= preserveElevation (Optional): [[Boolean]] Default: [[false]] |PARAMETER23=
|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 19:11, 29 January 2021

Hover & click on the images for description

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