TileName

From Wiki
Jump to: navigation, search
The #tileName system variable determines the name for the last tile read using the tile command.

There are over 3000 values for tile names. Some of the more usefull names include Water, Rock, Cave_Floor, Cave_Wall, and variations that include the word Tree (for example "Ohii_Tree").

Example


tile init

Tile get #charPosX #charPosY 1
display ok The tile at X: , #charPosX , #spc , / Y: , #charPosY , #spc , has the following Name:$ , #tileName
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