FilterItems
Call FilterItems filterCall FilterItems filter valueAlso searchable as: FilterItems · UO.FilterItems
Narrows the list ScanItems made, and returns how many items are left. Filters add up until cleared:
filter |
value |
Keeps |
|---|---|---|
| 0 | Clears every filter. | |
| 1 | item ID | Items with that ID; several add up. |
| 2 | item type | Items of that type; several add up. |
| 3 | container ID | Items in that container; without a value, in any container. |
| 4 | distance | Items on the ground within that distance; without a value, anywhere on the ground. |
Parameters
Section titled “Parameters”| Parameter | Type | Meaning |
|---|---|---|
filter |
number | Filter number, see above. |
value |
number | Filter value. |
Returns
Section titled “Returns”In this order, from stack position 1:
| Value | Type | Meaning |
|---|---|---|
count |
number | How many items are left. |