BIS fnc gridToPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 150132 by Lou Montana (talk))
Tag: Undo
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 35: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:gridToPos}}]]
 
[[Category:Functions|{{uc:gridToPos}}]]
[[Category:Functions|{{uc:gridToPos}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:gridToPos}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:gridToPos}}]]

Revision as of 09:16, 10 October 2020

Hover & click on the images for description

Description

Description:
Converts grid coordinates to world position.
Correct results outside of the map area are not guaranteed.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
gridPosition call BIS_fnc_gridToPos
Parameters:
gridPosition: String - (Optional, default mapGridPosition position cameraOn) accepts both "024577" or "De82" format
Return Value:
Array - to format [[gridX, gridY], [gridWidth, gridHeight]] (all of Number type)

Examples

Example 1:
_realPosition = "183221" call BIS_fnc_gridToPos;
Example 2:
_realPosition = "He11" call BIS_fnc_gridToPos;

Additional Information

See also:
mapGridPosition

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

Notes

Bottom Section