Skip to content

Tile object class

Hotride edited this page Dec 8, 2019 · 2 revisions

Command format:

ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);

  • ReturnType - the return value of the function (void - the function returns nothing);

  • NameSpace - the scope of the function;

  • name - the name of the function;

  • requiredParameters - required parameters;

  • optionalParameters - optional parameters, the default value is indicated after the = sign


String tile.Graphic();

Result: graphic of tile image.


String tile.Color();

Result: tile color.


int tile.X();

Result: X-axis coordinate.


int tile.Y();

Result: Y-axis coordinate.


int tile.Z();

Result: Z-axis coordinate.


bool tile.Land();

Result: true if it is a terrain tile, false if it is static.


int64 tile.Flags();

Result: Tile flags (temporarily not used, always 0).

Clone this wiki locally