BIS_fnc_gridToPos

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Converts grid coordinates to world position.
Execution:
call
Groups:
Positions

Syntax

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

Examples

Example 1:
private _realPosition = "183221" call BIS_fnc_gridToPos;
Example 2:
private _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