EN Runtime API 27 Item Search - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki
Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
Runtime API - Hidden Objects
Home · C# · IDE · UO API · A–Z · Examples · Languages
Each team opens a card with C#-signatures, parameters and several independent examples.
UO.AddFindList
Adds the type/hue rule to the named set for UO.FindList. The set allows you to repeatedly search for several types of objects or mobiles and set the priority of the types by the order of addition.
UO.ClearFindList
Removes the definitions of one named search set or all sets AddFindList of the current runtime. Used before re-configuring filters to prevent rules from piling up.
UO.DeleteFindList
Removes all definitions that match the specified list, list/type, or list/type/color prefix. Allows you to remove one type of item or a specific hue, while maintaining the rest of the set rules.
UO.FindAnyType
Finds the nearest loaded mobile with one of the given body graphic. Used to search for a specific type of creature. This command does not look for items in the chest or on the ground: they require FindType/FindList.
UO.FindAtCoord
Searches for loaded world objects on one exact X/Y tile of the current map.
UO.FindCount
Reads the number of ones in the specified stack if ID is passed. The form without arguments retains a separate meaning: the number of objects of the last search.
UO.FindFullQuantity
Reads the total number of units in the last search snapshot.
UO.FindList
Searches for downloaded items or mobiles across multiple type/hue. Returns the first serial as a string and stores the entire ordered result for FindItem, FindCount and GetFoundItems.
UO.FindMan
Finds one serial by notoriety, distance, height, body and hue. Used to pre-select a target without automatic attack.
UO.FindNotoriety
Searches for another mobile based on one body/type and allowed notoriety. Suitable when you need a certain kind of character with the right attitude; advanced shapes allow you to limit radius, height and hue. This is only an object selection, not an attack.
UO.FindQuantity
Reads the current quantity in the first search result.
UO.FindType
Searches among items and characters already downloaded by the client. You can search by type, color, container, distance and additional filters. The result is a hex string serial of the selected object; an empty string means no match. The command itself does not open containers, does not pick up an item, and does not attack the found target.
UO.FindTypeEx
Searches for one graphic and color in a container or on the ground and returns one found ID.
UO.FindVertical
Reads or modifies the allowed height difference in the default search.
UO.GetFindedList
Creates a copy of the list ID of the last normal search.
UO.InfoFindList
Prints the contents of the local list AddFindList separated by |. Doesn't start a hidden object search.