diag getTerrainGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(2.10 update)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3diag
|game1= arma3
|version1= 2.04


|version1= 1.99
|branch= diag


|gr1= Diagnostic
|gr1= Diagnostic


|descr= Returns terrain grid as scalar
|descr= Returns terrain cell size (size of each grid cell in the Heightmap).
{{Feature|obsolete|This command is subject to be removed and replaced with: [[getTerrainInfo]]|arma3|2.10}}


{{Feature | Warning | Command is only available when using [[Arma 3: Diagnostics Exe]] on Dev-Branch.}}
|s1= [[diag_getTerrainGrid]]


|s1= diag_getTerrainGrid
|r1= [[Number]] - terrain grid


|seealso=
|x1= <sqf>private _terrainGrid = diag_getTerrainGrid;</sqf>
 
|seealso= [[diag_getTerrainSegmentOffset]] [[getTerrainGrid]]
}}
}}

Latest revision as of 12:53, 20 June 2022

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Returns terrain cell size (size of each grid cell in the Heightmap).
🕖
This information is obsolete as of Arma 3 v2.10. Reason: This command is subject to be removed and replaced with: getTerrainInfo
Groups:
Diagnostic

Syntax

Syntax:
diag_getTerrainGrid
Return Value:
Number - terrain grid

Examples

Example 1:
private _terrainGrid = diag_getTerrainGrid;

Additional Information

See also:
diag_getTerrainSegmentOffset getTerrainGrid

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