User Tools

Site Tools


crpl:docs:getterrain

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Terrain and Wall Commands

GetTerrain

ArgumentsResultNotation
X, YHeight of terrain. x1 y1– n1

Description

Pushes to the stack the height of the terrain cell. Returns -1 for Void terrain. Values outside the map bounds are considered Void and hence also return -1.

Examples

example goes here
crpl/docs/getterrain.1359905267.txt.gz · Last modified: 2025/02/14 14:56 (external edit)