setTerrainGrid

From Bohemia Interactive Community
Revision as of 13:09, 17 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

setTerrainGrid grid


Operand types:

grid: Number

Type of returned value:

Nothing

Compatibility:

Added in version 1.75

Description:

Set desired terrain resolution (in meters).

For default landscapes, supported resolutions are:

  • 25 - smoothest, less lag
  • 12.5
  • 6.25
  • 3.125 - bumpiest, higher lag


If you select unsupported resolutions, nearest supported value is used instead.


Example:

setTerrainGrid 12.5