TileType

From Wiki
Revision as of 22:48, 6 November 2005 by Orngrimm (Talk | contribs) (Example)

Jump to: navigation, search
The #tileType system variable shows the numeric value of the last tile read using the tile command.

Each tile graphic in the map files has a unique identifier, which is represented in EasyUO with the #tileType value.

Example


Tile init

Tile cnt #charPosX #charPosY #cursKind
tile Get #charPosX #charPosY #tileCnt #cursKind
display ok The tileType value of the tile at X: , #charPosX , #spc , / Y: , #charPosY , #spc , is: , #spc , #tileType $
+Remember: There are #tileCnt layers and the informations given are for the topmost layer
halt

See also

Main Page Documentation