BIS fnc exportMapToBiTXT: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>") |
||
Line 20: | Line 20: | ||
|r1= [[String]] - height map, same data as in the clipboard | |r1= [[String]] - height map, same data as in the clipboard | ||
|x1= < | |x1= <sqf>[10, 10, 1] call BIS_fnc_exportMapToBiTXT;</sqf> | ||
|x2= < | |x2= <sqf>call BIS_fnc_exportMapToBiTXT;</sqf> | ||
|seealso= | |seealso= | ||
}} | }} |
Latest revision as of 13:04, 5 May 2022
Description
- Description:
- Returns terrain height map to BiTXT (Universal Bistudio TXT) format, which can be imported to Object Builder. Output is also copied to clipboard.
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- [resolution, size, zCoeff] call BIS_fnc_exportMapToBiTXT
- 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:
- 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