{"name":"BIS_fnc_exportMapToBiTXT","title":"BIS fnc exportMapToBiTXT","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_exportMapToBiTXT","revid":309369,"updated":"2022-05-05T12:04:32Z","groups":["Diagnostic"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Returns terrain height map to BiTXT (Universal Bistudio TXT) format, which can be imported to Object Builder. Output is also copied to clipboard.\n\n> [!IMPORTANT]\n> Be wary that **this function is CPU-demanding** and may lock your computer for minutes!","syntaxes":[{"syntax":"[resolution, size, zCoeff] call BIS_fnc_exportMapToBiTXT","params":[{"name":"resolution","type":"Number","optional":true,"default":"64","description":"object resolution, i.e, number of points per side","type_expr":"Number","text":"resolution: Number - (Optional, default 64) object resolution, i.e, number of points per side"},{"name":"size","type":"Number","optional":true,"default":"10","description":"object size in metres","type_expr":"Number","text":"size: Number - (Optional, default 10) object size in metres"},{"name":"zCoeff","type":"Number","optional":true,"default":"2","description":"vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains","type_expr":"Number","text":"zCoeff: Number - (Optional, default 2) vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains"}],"returns":{"type":"String","type_expr":"String","description":"height map, same data as in the clipboard"}}],"examples":[{"code":["[10, 10, 1] call BIS_fnc_exportMapToBiTXT;"]},{"code":["call BIS_fnc_exportMapToBiTXT;"]}]}