<- CRPL reference <- Terrain and Wall Commands
Arguments | Result | Notation |
---|---|---|
X, Y | Height of terrain. | x1 y1-- n1 |
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.
#Gets the terrain level at the current position of the core #and stores it in variable lvl CurrentCoords GetTerrain ->lvl