User Tools

Site Tools


crpl:docs:getterrain

This is an old revision of the document!


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

GetTerrain

Arguments Result Notation
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.1359985676.txt.gz · Last modified: 2014/10/01 15:02 (external edit)