BIS fnc exportMapToBiTXT: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 19: Line 19:
|p3= zCoeff: [[Number]] - (Optional, default 2) vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains
|p3= zCoeff: [[Number]] - (Optional, default 2) vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains


| [[String]] - height map, same data as in the clipboard
|r1=[[String]] - height map, same data as in the clipboard


|x1= <code>[10, 10, 1] [[call]] [[BIS_fnc_exportMapToBiTXT]];</code>
|x1= <code>[10, 10, 1] [[call]] [[BIS_fnc_exportMapToBiTXT]];</code>

Revision as of 20:26, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
Syntax needed
Parameters:
resolution: Number - (Optional, default 64) object resolution, i.e, number of points per side
size: Number - (Optional, default 10) object size in metres
zCoeff: Number - (Optional, default 2) vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains
Return Value:
String - height map, same data as in the clipboard

Examples

Example 1:
[10, 10, 1] call BIS_fnc_exportMapToBiTXT;
Example 2:
call BIS_fnc_exportMapToBiTXT;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note