{"name":"mapGridPosition","title":"mapGridPosition","type":"command","url":"https://community.bistudio.com/wiki/mapGridPosition","revid":319458,"updated":"2022-05-13T09:24:06Z","groups":["Positions","Map"],"status":"ok","games":{"arma2":"1.04","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.04","arma3_since":"0.50","description":"Returns the map grid position of an object or position.\nThe format is determined by the Grid format specified in the CfgWorlds for the current world. Eg: \"024577\" or \"De82\" or similar.","syntaxes":[{"syntax":"mapGridPosition param","params":[{"name":"param","type":"Object or Position","description":"determines reference position","type_expr":"Object | Position"}],"returns":{"type":"String","type_expr":"String","description":"grid position"},"form":"unary","right":{"text":"param"}}],"examples":[{"code":["_gridPos = mapGridPosition player;"]},{"code":["_gridPos = mapGridPosition getPos player;"]}],"see_also":["BIS_fnc_gridToPos","BIS_fnc_posToGrid"]}