{"name":"BIS_fnc_exportMapToBiTXT","operator":null,"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","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":"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","since":null,"effect":null,"exec":null,"params":[{"name":"resolution","type":"Number","optional":true,"default":"64","description":"object resolution, i.e, number of points per side","types":["Number"],"since":null,"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","types":["Number"],"since":null,"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","types":["Number"],"since":null,"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","types":["String"],"description":"height map, same data as in the clipboard","text":"String - height map, same data as in the clipboard"}}],"examples":[{"text":"```sqf\n[10, 10, 1] call BIS_fnc_exportMapToBiTXT;\n```","code":["[10, 10, 1] call BIS_fnc_exportMapToBiTXT;"]},{"text":"```sqf\ncall BIS_fnc_exportMapToBiTXT;\n```","code":["call BIS_fnc_exportMapToBiTXT;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Diagnostic","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}