User Tools

Site Tools


4rpl:commands:getterrain

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

4rpl/commands/getterrain.txt · Last modified: 2021/04/14 16:24 by durikkan