Table of Contents

ugBASIC User Manual

TILE ID ✓

SYNTAX

   = TILE ID(tileset, name)

PURPOSE

This function allows you retrieve the (numeric) identification, given the symbolic name of the tile. Note that this information is available only at the time of compilation: therefore, the parameter with the tile identifier must be a constant.

EXAMPLE

  myTile = TILE ID(tileset, name_my_tile)

See also the following example files:

ABBREVIATION

 TlId

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY