Page 1 of 1

Feature Added - A new UO module function ListItemsInBoxByObjType

Posted: Sat Nov 17, 2018 10:08 pm
by Yukiko
This came to me as I was helping someone to create a programme (script) to search the map for a particular item. It seems to me, when searching a large area, that being able to specify the exact ObjType when searching would reduce the amount of memory used by the created array. So here is my proposed function:

Code: Select all

ListItemsInBoxByObjType( x1, y1, z1,  x2, y2, z2, ObjType, realm := _DEFAULT_REALM )

Re: A new UO module function ListItemsInBoxByObjType

Posted: Sun Nov 18, 2018 1:19 pm
by boberski
That is a great idea Kiko. I do not even remember how many times that function would made my life easier :P

Re: A new UO module function ListItemsInBoxByObjType

Posted: Mon Nov 19, 2018 11:21 pm
by ThisIsMe
This would be a good, would make things a lot easier for doing certain things and can already think of at least one use for a function such as this.