User Tools

Site Tools


4rpl:commands:getterrain

This is an old revision of the document!


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.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)