EN Runtime API 34 Tiles and Statics - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki
Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
Runtime API — Tiles and statics
Home · C# · IDE · UO API · A–Z · Examples · Languages
Each team opens a card with C#-signatures, parameters and several independent examples.
UO.AddUserStatic
Adds a custom static entry to the local script state. Numeric graphic is used for local obstacle checking by pathfinder; the object is not created on the server. A two-argument call with unnumbered text preserves legacy values and does not add static to the pathfinder.
UO.ClearUserStatics
Removes all user static runtime entries and local static manager objects.
UO.GetLandscapeTile
Reads the land of one cell of the current card.
UO.GetLandTileAt
Returns the extended land record of the selected cell.
UO.GetLandTileData
Reads the extended land reference record from tiledata.
UO.GetStaticArt
Gets a single Graphic image from the installed Ultima Online graphics files and returns it in memory in BMP format. Useful for checking your game resources, icon sizes, reading pixel color and comparing colored versions of an item. The command itself does not open a window, save a file, or search for items in the world.
UO.GetStaticTileAt
Returns an extended record of one record above the ground of the selected cell.
UO.GetStaticTileData
Reads the static graphic extended help entry from tiledata.
UO.GetStaticTiles
Reads entries above the ground in one cell of the current map.
UO.GetTileFlags
Reads the bitmask of the graphic properties from the tiledata entry.
UO.GetTileHeight
Reads the height of graphic from the tiledata entry.
UO.GetTileName
Reads the title graphic from the tiledata entry.
UO.GetTileXYM
Reads the matching graphic ID from the object chain of the cell of the currently loaded game card.
UO.GetUserStatic
Reads a saved user static record.
UO.GetUserStatics
Reads state.UserStatics.
UO.InfoTile
Without arguments, enables the selection of a land or static tile and reveals information about the selected tile. An item or character is not considered such a tile. The form with coordinates displays information about the cell of the current map in the log; without interactive selection, the character's coordinates are used.
UO.IsMineTile
Checks the characteristics of a cell against local map data.
UO.IsTreeTile
Checks the characteristics of a cell against local map data.
UO.IsWaterTile
Checks the characteristics of a cell against local map data.
UO.LastTile
Reads the last saved tile target.
UO.PrivateGetTile
Searches for the first graphic in the given range in the local cell.
UO.ReadStaticsXY
Reads flat static records of the current card in the cell.
UO.UserStaticExists
Checks for the presence of ID in user static records.