EN Runtime API 20 Equipment Operations - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki
Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
Runtime API - Equipment Operations
Home · C# · IDE · UO API · A–Z · Examples · Languages
Each team opens a card with C#-signatures, parameters and several independent examples.
UO.Dress
Restores a previously saved named clothing set.
UO.DressSavedSet
Restores a set of clothes saved by calling UO.SetDress() without a name.
UO.DressSpeed
Reads or sets the pause between dressing/undressing operations in the current runtime. Helps to avoid sending a series of actions too quickly for server rules.
UO.Equip
Equips the selected item to the specified layer of your character.
UO.EquipDressSet
Alternate name DressSavedSet: Restores the same unnamed set of clothes.
UO.EquipItems
Equip one item or an array of items. The layer of each item is determined by its wearable data, so the item can be put on from a backpack.
UO.EquipLastWeapon
Requests re-equipment of the last saved right and left hand items.
UO.EquipT
UO.GetEquipment
Reads the list of equipment on non-zero object layers.
UO.GetLayer
UO.GetLayerCount
Counts non-earth geometry records in one cell.
UO.GetPlayerStatusText
Generates a short text of the object's name and health.
UO.GetTileLayer
Reads the equipment layer number from the tiledata entry.
UO.ObjAtLayer
Finds an item on the specified layer of your own character's equipment.
UO.ObjAtLayerEx
Reads an item/container in the specified layer for the specified loaded character.
Returns the serial number (ID) of the item equipped in the specified layer of the given mobile.
UO.SetDress
Remembers currently worn clothing and armor for subsequent restoration.
UO.SetDressSpeed
Sets a pause between requests to change clothes.
UO.Undress
Removes clothing and armor from layers 3,4,5,6,7,8,10,12,13,14,17,18,19,20,22,23,24. Hands, hair, beard, backpack, mount and bank are not affected.
UO.Unequip
Removes his item from the specified layer into his own backpack.
UO.UnequipItems
Takes the listed personal items into the backpack. ID of someone else's item does not remove your item from the same layer.
UO.UnsetDress
Deletes an entry for a named set of clothes without removing the items.
UO.WearItem
Equips the selected item to your character's number layer.