Difference between revisions of "TileType"
From Wiki
(→Example) |
|||
Line 15: | Line 15: | ||
</pre> | </pre> | ||
− | {{ | + | =See Also= |
+ | {{Tile}} |
Latest revision as of 09:15, 13 September 2007
⇒ | 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
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 |