Page 1 of 1
findtype
Posted: 2008-03-04 06:00:23
by hunt3r
I can't remember, but I thought that the findtype command has some "triggers" to search ONLY on the backpack root, or on its "sub bags"...
something like
maybe
I can't remeber the exactly syntax... and the forum engine doesn't allow to search by this characters...
someone had some idea?
thanks
Posted: 2008-03-04 10:58:01
by Destruction
"Triggers" not for findtype.
To search only in backpack/ground/etc - define third argument of uo.findtype() function.
To use "triggers" try this code: uo.getSerial( "^0x0000" ), where 0x0000 - some type.
Posted: 2008-03-04 19:30:11
by Nmy
Triggers are for objects. Any function that uses objects, can use trigger+[type].
_type{char, backpack, bags in backpack} = findtype type -1 my
^type{backpack, bags} = findtype type -1 backpack
~type{ground, also set finddist working on this} = findtype type -1 ground
<type = findtype type -1 lastcontainer
object.type = findtype type -1 object
for example
Posted: 2008-03-06 17:44:48
by hunt3r
great that!
thank you guys!