Index

:!: Available in version 1.3 and later.

GetTerrainOverride

GetTerrainOverride(<-cellX <-cellZ) ->terrainOverride

Description

Specifies the terrain override for a cell of terrain. An override can be used to raise the apparent height of the terrain for purposes of creeper flow. If the value of the terrain override is lower than the actual terrain height, there is no effect. Terrain overrides can be higher than the actual terrain max height of 20. Beware that the max height is 2147, and the value stacks with unit pseudo terrain (if present). Values in excess of 2147 will wrap around to negative values.

Examples

GetTerrainOverride(50 30) ->terrainOverride

Index