Page 1 of 1
Drop items by name... is it possible?
Posted: 2005-05-05 07:20:10
by rodox
Well, I have a problem... I'm training Cartography... Its like that... use the blank map (a Blank map) and creates a new map... just (map) ... but both have the same Type... i would like to know if it is possible to DROP only items in my bag which is named "map" ! Could someone help me? thanks ;D
Posted: 2005-05-05 07:31:30
by flake
I would like advise you something different:
Make a script that will:
Search for a blank map in some container, then move one map to your backpack, make 'a map' out of it, and then drop it.
This should solve the problem with the type (because there is only one map in your backpack).
Posted: 2005-05-05 09:09:53
by rodox
How can i use an item from container? could u tell me?
Posted: 2005-05-05 12:52:36
by Beyonder
1) Blank maps in the chest, no maps at all in backpack.
2) Moving 1 blank map to backpack.
Code: Select all
UO.FindType('MAP_TYPE',-1,'CHEST_ID')
UO.MoveItem('finditem',1,'backpack')
3) Creating map.
Code: Select all
UO.FindType('MAP_TYPE',-1,'backpack')
UO.WaitMenu('SOME MENU ACTIONS HERE')
UO.UseObject('finditem')
4) Dropping it.
Code: Select all
UO.FindType('MAP_TYPE',-1,'backpack')
UO.Drop('finditem')
This is what should help.
Posted: 2005-05-05 14:25:05
by Sfagnum
http://yoko.netroof.net/forum/viewtopic ... 1375#21375
Var Sunduk1='0x40226380' ; backpack with full bags
Var Sunduk2='0x401E6ABC' ; backpack with empty bags