This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
crpl:docs:getterrain [2013/02/04 08:47] – Format changes grauniad | crpl:docs:getterrain [2016/02/11 22:34] – [GetTerrain] GameGibu | ||
---|---|---|---|
Line 10: | Line 10: | ||
Pushes to the stack the height of the terrain cell. Returns -1 for Void terrain. | Pushes to the stack the height of the terrain cell. Returns -1 for Void terrain. | ||
=== Examples === | === Examples === | ||
- | < | + | < |
+ | #Gets the terrain level at the current position of the core | ||
+ | #and stores it in variable lvl | ||
+ | CurrentCoords GetTerrain ->lvl</ |