diag getTerrainGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
(Add example)
Line 10: Line 10:
|descr= Returns terrain grid as scalar
|descr= Returns terrain grid as scalar


|s1= diag_getTerrainGrid
|s1= [[diag_getTerrainGrid]]


|r1= [[Number]] - Terrain grid
|r1= [[Number]] - terrain grid
 
|x1= <code>[[private]] _terrainGrid = [[diag_getTerrainGrid]];</code>


|seealso= [[diag_getTerrainSegmentOffset]]
|seealso= [[diag_getTerrainSegmentOffset]]
}}
}}

Revision as of 19:03, 20 June 2021

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

Description

Description:
Returns terrain grid as scalar
Groups:
Diagnostic

Syntax

Syntax:
diag_getTerrainGrid
Return Value:
Number - terrain grid

Examples

Example 1:
private _terrainGrid = diag_getTerrainGrid;

Additional Information

See also:
diag_getTerrainSegmentOffset

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