EN Runtime API 02 Item Use - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki

Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어

Runtime API - Using Items

Home · C# · IDE · UO API · A–Z · Examples · Languages

Each team opens a card with C#-signatures, parameters and several independent examples.

UO.UseItemOnMobile

Items

Prepares the character's target and uses the item.

UO.UseObject

Items

Requests the use of an object by serial. Bridge calls GameActions.DoubleClick; The item is not searched by type.

UO.UseType

Items

Finds one item of the desired graphic/type and applies it. For example, drink a potion from a backpack, open a nearby backpack, or use an item from a selected container. This command does not search for or move the character. If the item requires a target cursor, the target must be prepared separately.