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

World & Geometry

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

World & Geometry

Removes all user static runtime entries and local static manager objects.

UO.GetLandscapeTile

World & Geometry

Reads the land of one cell of the current card.

UO.GetLandTileAt

World & Geometry

Returns the extended land record of the selected cell.

UO.GetLandTileData

World & Geometry

Reads the extended land reference record from tiledata.

UO.GetStaticArt

World & Geometry

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

World & Geometry

Returns an extended record of one record above the ground of the selected cell.

UO.GetStaticTileData

World & Geometry

Reads the static graphic extended help entry from tiledata.

UO.GetStaticTiles

World & Geometry

Reads entries above the ground in one cell of the current map.

UO.GetTileFlags

World & Geometry

Reads the bitmask of the graphic properties from the tiledata entry.

UO.GetTileHeight

World & Geometry

Reads the height of graphic from the tiledata entry.

UO.GetTileName

World & Geometry

Reads the title graphic from the tiledata entry.

UO.GetTileXYM

World & Geometry

Reads the matching graphic ID from the object chain of the cell of the currently loaded game card.

UO.GetUserStatic

World & Geometry

Reads a saved user static record.

UO.GetUserStatics

World & Geometry

Reads state.UserStatics.

UO.InfoTile

Diagnostics & Introspection

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

World & Geometry

Checks the characteristics of a cell against local map data.

UO.IsTreeTile

World & Geometry

Checks the characteristics of a cell against local map data.

UO.IsWaterTile

World & Geometry

Checks the characteristics of a cell against local map data.

UO.LastTile

Targeting

Reads the last saved tile target.

UO.PrivateGetTile

World & Geometry

Searches for the first graphic in the given range in the local cell.

UO.ReadStaticsXY

World & Geometry

Reads flat static records of the current card in the cell.

UO.UserStaticExists

World & Geometry

Checks for the presence of ID in user static records.