TileZ

From Wiki
Jump to: navigation, search
The #tileZ system variable determines the z-coordinate for the last tile read using the tile command.

Example


tile init

Tile cnt #charPosX #charPosY #cursKind
display ok The Z value of the tile at X: , #charPosX , #spc , / Y: , #charPosY , #spc , is: , #tileZ
halt

See Also

Tile

  • These system variables contain data gathered using the tile command.
#tileType Returns the type of the last read tile
#tileZ Returns the z-coordinate of the last read tile
#tileCnt Returns the number of tile layers of the last read position
#tileName Returns the name of the last read tile
#tileFlags Returns the flags of the last read tile