User Tools

Site Tools


scripting-statics

Scripting - Statics data and function

Here can find some infomation about Enhanced Scripting function and data for Statics and Map Information.

Land Information

Get Land ID
Syntax Statics.GetLandID(int, int, int)
Description:
Get ID of tile in X, Y coordinates and specific map.
Returns: Int
In Object: Statics
Parameters: int coordX, int coordY, int mapID

Get Land X Level
Syntax Statics.GetLandZ(int, int, int)
Description:
Get Z Level of tile in X, Y coordinates and specific map.
Returns: Int
In Object: Statics
Parameters: int coordX, int coordY, int mapID

Get Land tile flag information
Syntax Statics.GetLandFlag(int, string)
Description:
Get true or false if flag is present for specific land itemID. Possible flag to check:
  • None
  • Translucent
  • Wall
  • Damaging
  • Impassable
  • Surface
  • Bridge
  • Window
  • NoShoot
  • Foliage
  • HoverOver
  • Roof
  • Door
  • Wet
Returns: bool
In Object: Statics
Parameters: int itemid, string flagname






Statics Information

Get Static information on tile
Syntax Statics.GetStaticsTileInfo(int, int, int)
Description:
Get tiles info in a certain map at X, Y coordinates.
Tileinfo list contain all static item in specific tile whit this information: StaticID (Static item Grapics), StaticHue (Static item color), StaticZ (Static item Z Level).
Returns: List(TileInfo)
In Object: Statics
Parameters: int coordX, int coordY, int mapID

Get Static tile flag information
Syntax Statics.GetTileFlag(int, string)
Description:
Get true or false if flag is present for specific itemID. Possible flag to check:
  • None
  • Translucent
  • Wall
  • Damaging
  • Impassable
  • Surface
  • Bridge
  • Window
  • NoShoot
  • Foliage
  • HoverOver
  • Roof
  • Door
  • Wet
Returns: bool
In Object: Statics
Parameters: int itemid, string flagname






Deed Information

Check if exist deed house
Syntax Statics.CheckDeedHouse(int, int)
Description:
Get true or false if exist deed house in specific X, Y.
Returns: Bool
In Object: Statics
Parameters: int coordX, int coordY

scripting-statics.txt · Last modified: 2018/09/14 19:00 by wikiadmin