{"name":"BIS_fnc_posToGrid","operator":null,"title":"BIS fnc posToGrid","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_posToGrid","revid":327012,"updated":"2022-07-12T21:44:44Z","groups":["Positions"],"status":"deprecated","replaced_by":["mapGridPosition"],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Converts array position to map grid position.\n\n> [!CAUTION]\n> This information is **obsolete**. This function is replaced by mapGridPosition.","syntaxes":[{"syntax":"element call BIS_fnc_posToGrid","since":null,"effect":null,"exec":null,"params":[{"name":"element","type":"Object, Array in format Position or String marker name","optional":false,"default":null,"description":null,"types":["Object","Array","Position","String"],"since":null,"text":"element: Object, Array in format Position or String marker name"}],"returns":{"type":"Array of Strings","types":["Array","String"],"description":"format [\"X\", \"Y\"]","text":"Array of Strings - format [\"X\", \"Y\"]"}}],"examples":[{"text":"```sqf\nplayer call BIS_fnc_posToGrid; // [\"046\", \"049\"]\n```","code":["player call BIS_fnc_posToGrid; // [\"046\", \"049\"]"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_gridToPos","mapGridPosition"],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Positions","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}