diag getTerrainGrid: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(2.10 update) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
|gr1= Diagnostic | |gr1= Diagnostic | ||
|descr= Returns terrain grid | |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}} | |||
|s1= [[diag_getTerrainGrid]] | |s1= [[diag_getTerrainGrid]] | ||
Line 14: | Line 15: | ||
|r1= [[Number]] - terrain grid | |r1= [[Number]] - terrain grid | ||
|x1= < | |x1= <sqf>private _terrainGrid = diag_getTerrainGrid;</sqf> | ||
|seealso= [[diag_getTerrainSegmentOffset]] | |seealso= [[diag_getTerrainSegmentOffset]] [[getTerrainGrid]] | ||
}} | }} |
Latest revision as of 12:53, 20 June 2022
Description
- Description:
- Returns terrain cell size (size of each grid cell in the Heightmap).
- Groups:
- Diagnostic
Syntax
- Syntax:
- diag_getTerrainGrid
- Return Value:
- Number - terrain grid
Examples
- Example 1:
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