Terrain cellSizCurrently there is an important parameter for various t command in diag exe `diag_getTerrain-related calculations,Grid`. because it represents the "accuracy" of the terrain.
[[ https://pmc.editing.wiki/doku.php?id=arma3:terrain:grid-cell-size | Sample list for all vanilla A3 terrains]]
It's weird that there's no command or config value to get the terrain cellSizeBut that command is just a getter of terrain cell size and it's perfectly safe and useful for stable branch as well.
samplI previously asked for that command but sadly another ticket requesting the command:d to be added to diag exe was accepted.... :(
```
So instead, I'm gonna ask a new command: `getTerrainCellSizenInfo`, which is more general.
```This command will return an array of 2 values: The terrain cell size and its heightmap resolution.
It doesn't require any parameters.`[cellSize, Similar to WorldSize.heightMapResolution]`
or a config value:This command can be further expanded in the future to return more useful terrain info. (I can't currently think of anything more)
```
cellSize=x;The cell size is an important attribute of the terrain. For example, you can know where the terrain "slope" is gonna change (which is the next adjacent cell triangle) compared to the current pos.
This feature can be useful for scripts that find "empty and flat positions", as currently there's no good approach to do this (if you pick small "step", the algorithm is slow; if you pick a large one, it's inaccurate...)
```There are many other applications as well.