{"name":"BIS_fnc_gridToPos","operator":null,"title":"BIS fnc gridToPos","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_gridToPos","revid":329531,"updated":"2022-07-30T12:57:54Z","groups":["Positions"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Converts grid coordinates to world position.\n\n> [!IMPORTANT]\n> - Correct results outside of the map area are not guaranteed.\n> - Does not work on machines with no UI like Dedicated Server or Headless Client - see hasInterface.","syntaxes":[{"syntax":"gridPosition call BIS_fnc_gridToPos","since":null,"effect":null,"exec":null,"params":[{"name":"gridPosition","type":"String","optional":true,"default":"`mapGridPosition position cameraOn`","description":"accepts both \"024577\" or \"De82\" format","types":["String"],"since":null,"text":"gridPosition: String - (Optional, default `mapGridPosition position cameraOn`) accepts both \"024577\" or \"De82\" format"}],"returns":{"type":null,"types":["Array","Number"],"description":null,"text":"Array of Numbers in format [[gridX, gridY], [gridWidth, gridHeight]]"}}],"examples":[{"text":"```sqf\nprivate _realPosition = \"183221\" call BIS_fnc_gridToPos;\n```","code":["private _realPosition = \"183221\" call BIS_fnc_gridToPos;"]},{"text":"```sqf\nprivate _realPosition = \"He11\" call BIS_fnc_gridToPos;\n```","code":["private _realPosition = \"He11\" call BIS_fnc_gridToPos;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["mapGridPosition"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Positions","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}