Drop items by name... is it possible?

Ask for help

Moderators: Murderator+, Murderator

Post Reply
rodox
Posts: 6
Joined: 2005-04-26 14:29:04

Drop items by name... is it possible?

Post 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
flake
Expert!
Posts: 746
Joined: 2004-08-11 23:56:17
Location: The Citadel
Contact:

Post 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).
rodox
Posts: 6
Joined: 2005-04-26 14:29:04

Post by rodox »

How can i use an item from container? could u tell me?
Beyonder
Expert!
Posts: 388
Joined: 2005-04-23 10:19:43
Contact:

Post 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.
Sfagnum
Expert!
Posts: 1284
Joined: 2004-07-04 00:14:58
Contact:

Post by Sfagnum »

http://yoko.netroof.net/forum/viewtopic ... 1375#21375
Var Sunduk1='0x40226380' ; backpack with full bags
Var Sunduk2='0x401E6ABC' ; backpack with empty bags
Post Reply