statics_func
Differences
This shows you the differences between two versions of the page.
— | statics_func [2022/09/03 23:25] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Scripting - Statics data and function ====== | ||
+ | Here can find some information about Enhanced Scripting function and data for Statics and Map Information. | ||
+ | |||
+ | ===== Land Information ===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |Int | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Statics | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |mapID | ||
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |Int | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Statics | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |LandID | ||
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |Int | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Statics | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |mapID | ||
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |bool | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Statics | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |int itemid, string flagname | ||
+ | |- | ||
+ | |**Possible flag to check:** | ||
+ | | | ||
+ | * None | ||
+ | * Translucent | ||
+ | * Wall | ||
+ | * Damaging | ||
+ | * Impassable | ||
+ | * Surface | ||
+ | * Bridge | ||
+ | * Window | ||
+ | * NoShoot | ||
+ | * Foliage | ||
+ | * HoverOver | ||
+ | * Roof | ||
+ | * Door | ||
+ | * Wet | ||
+ | |||
+ | |} | ||
+ | |||
+ | ===== Statics Information ===== | ||
+ | |||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | Tileinfo list contain all static item in specific tile whit this information: | ||
+ | |||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |List(TileInfo) | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Statics | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |int coordX, int coordY, int mapID | ||
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | Tileinfo list contain all static item in specific tile with this information: | ||
+ | |||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |string | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Statics | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |int TileID | ||
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |bool | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Statics | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |int itemid, string flagname | ||
+ | |- | ||
+ | |**Possible flag to check:** | ||
+ | | | ||
+ | * None | ||
+ | * Translucent | ||
+ | * Wall | ||
+ | * Damaging | ||
+ | * Impassable | ||
+ | * Surface | ||
+ | * Bridge | ||
+ | * Window | ||
+ | * NoShoot | ||
+ | * Foliage | ||
+ | * HoverOver | ||
+ | * Roof | ||
+ | * Door | ||
+ | * Wet | ||
+ | |||
+ | |} | ||
+ | |||
+ | ===== Deed Information ===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |Bool | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Statics | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |coordY | ||
+ | |||
+ | |} | ||