Difference between revisions of "diag dumpTerrainSynth"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Remove c++)
m (Fix analysisLength)
Line 11: Line 11:
 
|s1= [[diag_dumpTerrainSynth]]
 
|s1= [[diag_dumpTerrainSynth]]
  
|r1= [[Array]] of [[Number]], [[Array]] of [[Number]]s: [analysisAngle, [min1, max1], [min2, max2], ..., [min512, max512]]. There are 512 min/max pairs.
+
|r1= [[Array]] of [[Number]], [[Array]] of [[Number]]s: [analysisLength, [min1, max1], [min2, max2], ..., [min512, max512]]. There are 512 min/max pairs.
* analysisAngle: [[Number]] <!-- - starting from the east, going counter clockwise -->
+
* analysisLength: [[Number]] - altitude analysis distance from terrain's border towards its centre
 
* min1..512: [[Number]] - minimum altitude
 
* min1..512: [[Number]] - minimum altitude
 
* max1..512: [[Number]] - maximum altitude
 
* max1..512: [[Number]] - maximum altitude

Revision as of 19:43, 12 February 2021

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 2.03|2.03]]
Hover & click on the images for description

Description

Description:
Returns OutsideTerrain's current world's values.
Groups:
Diagnosis

Syntax

Syntax:
diag_dumpTerrainSynth
Return Value:
Array of Number, Array of Numbers: [analysisLength, [min1, max1], [min2, max2], ..., [min512, max512]]. There are 512 min/max pairs.
  • analysisLength: Number - altitude analysis distance from terrain's border towards its centre
  • min1..512: Number - minimum altitude
  • max1..512: Number - maximum altitude

Examples

Example 1:
private _terrainSynth = diag_dumpTerrainSynth;

Additional Information

See also:
diag_exportConfig diag_exportTerrainSVG

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

[[Category:Introduced with arma3dev version 2.03]][[ Category: arma3dev: New Scripting Commands | DIAG DUMPTERRAINSYNTH]][[ Category: arma3dev: Scripting Commands | DIAG DUMPTERRAINSYNTH]]