Yoko
http://forum.yoko.com.ua/

findtype
http://forum.yoko.com.ua/viewtopic.php?f=3&t=13332
Page 1 of 1

Author:  hunt3r [ 2008-03-04 06:00:23 ]
Post subject:  findtype

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
Code:
^, ~ and _ 


maybe
Code:
 _backpack, ^backpack, ~backpack


I can't remeber the exactly syntax... and the forum engine doesn't allow to search by this characters...

someone had some idea?

thanks

Author:  Destruction [ 2008-03-04 10:58:01 ]
Post subject: 

"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.

Author:  Nmy [ 2008-03-04 19:30:11 ]
Post subject: 

Triggers are for objects. Any function that uses objects, can use trigger+[type].
Quote:
_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
Code:
uo.useobject("^0x1515")

Author:  hunt3r [ 2008-03-06 17:44:48 ]
Post subject: 

great that!
thank you guys!

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/