Index

GetTerrain

GetTerrain(<-cellX <-cellZ) ->terrainHeight

Description

Gets the integer height of the terrain at the specified integer map coordinates. A value of 0 means “void” or no terrain. A value of -1 is returned if the terrain coordinate is outside the map.

Examples

GetTerrain(42 23) ->terrainHeight

Index