Description
Converts grid coordinates to world position.
Important
- Correct results outside of the map area are not guaranteed.
- Does not work on machines with no UI like Dedicated Server or Headless Client - see hasInterface.
Syntax
gridPosition call BIS_fnc_gridToPos
Parameters:
gridPosition: String - (Optional, defaultmapGridPosition position cameraOn) accepts both "024577" or "De82" format
Returns: 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;