Author Topic: Target type move  (Read 4065 times)

0 Members and 1 Guest are viewing this topic.

Offline decloTopic starter

  • Jr. Member
  • **
  • Posts: 90
  • Activity:
    0%
  • Reputation Power: 2
  • declo has no influence.
  • Respect: +21
  • Referrals: 1
    • View Profile
Target type move
« on: December 30, 2015, 05:54:45 PM »
0
Is anyone familiar with a sub that will ask to target an item and then use the itemtype selected in a event drag loop?

Offline lydaan

  • Jr. Member
  • **
  • Posts: 70
  • Activity:
    0%
  • Reputation Power: 3
  • lydaan has no influence.
  • Respect: +7
  • Referrals: 0
    • View Profile
Re: Target type move
« Reply #1 on: December 30, 2015, 06:06:44 PM »
0
OK... so I'm super nub to the forum, but I think i can address this... assuming EUO...

so it sounds like you're familiar with exevent drag...

you should read:
http://wiki.easyuo.com/index.php/FindItem
http://wiki.easyuo.com/index.php?title=Exevent_Drag ;stuff at the end about exevent drop


it sounds like you need something like:

Code: [Select]
finditem *object_type_you_want_to_drag (abc) * c_ , *containerid* ;c_ is for which container it's in...
for #findindex 1 #findcnt
   {
   exevent drag #findid *#findstack -or- 1 (or however many you want to drag)* ;#findstack drags everything in a stack if applicable
   exevent drop(c,g) ;read up on exevent drag/drop for this at wiki.easyuo.com
   wait 25
   }
halt

*edit... added the wait timer...

----

*edit again... that's the best i could do with one sentance... I could try and guess what you want, but that's not worth my time.
« Last Edit: December 30, 2015, 06:13:48 PM by lydaan »

Offline decloTopic starter

  • Jr. Member
  • **
  • Posts: 90
  • Activity:
    0%
  • Reputation Power: 2
  • declo has no influence.
  • Respect: +21
  • Referrals: 1
    • View Profile
Re: Target type move
« Reply #2 on: December 31, 2015, 12:17:57 PM »
0
The part I am struggling with is how to click on an item and then have the script move all of that item type into a container. (ie I click on a straw hat and it moves all the straw hates from the backpack to a container).

Offline lydaan

  • Jr. Member
  • **
  • Posts: 70
  • Activity:
    0%
  • Reputation Power: 3
  • lydaan has no influence.
  • Respect: +7
  • Referrals: 0
    • View Profile
Re: Target type move
« Reply #3 on: December 31, 2015, 12:54:25 PM »
0
okay, sooo... UOSteam may be able to do something like what you're talking about, but I don't know it that well...

BUT, this is easily achievable in EUO, though not exactly what you're asking for   *** edited this to make it more coherent

more stuff to read:
http://wiki.easyuo.com/index.php?title=LObjectID
http://wiki.easyuo.com/index.php?title=LObjectType

So... the easiest way to find this stuff is by having EUO open (if running multiple clients make sure its set to your current char)
then in UO, dbl click the item you want to find the objectid/objecttype of and record the value posted on the right side of the EUO interface (you can left click once on the line you want and then copy that value)

then insert the 2/3 letter object type in the finditem function like this

Code: [Select]
finditem AAA *
The sample code I gave you before before uses a for loop that will drag ALL stacks of the same objecttype... if you want it to do other things, I suggest you read: http://wiki.easyuo.com/index.php?title=Documentation#Flow_Control
and also reread the links I posted in my first reply
« Last Edit: December 31, 2015, 10:09:44 PM by lydaan »

Tags: