GetGetStaticTileDataLandTileData

Detailed information about Static tile, including Flags and Name.

NB: In PS you can use method AnsiByteArrayToString to convert “array of Char” to “String”

Pascal Syntax:

function GetStaticTileData(Tile : Word) : TStaticTileData;

TStaticTileData = record
  Flags : Int64;
  Weight : Word;
  AnimID : Word;
  Height : Integer;
  RadarColorRGBA : Cardinal;
  Name : array[0..19] of Char;
end;

Pascal Example:

var S : String;
    zz: TStaticTileData;
begin
  zz := (GetStaticTileData($449))
  S:= AnsiByteArrayToString(zz.Name);  
  AddToSystemJournal(S);
END.

Python Syntax:

def GetStaticTileData(Tile): --> dict