1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice

Is it possible to create a dying macro?

Discussion in 'UO Enhanced Client Discussion' started by Thrakkar, Jan 4, 2013.

  1. Thrakkar

    Thrakkar Slightly Crazed
    Stratics Veteran Stratics Legend

    Joined:
    Mar 18, 2004
    Messages:
    1,358
    Likes Received:
    343
    I tried it but it didn't work. Maybe I'm just lacking the needed macro skills.
    Let's say, I have according dying tubs (cloth, leather, metal, whatever) in my backpack. Now when I hit my macro key, the following should happen:

    Unequip my items.
    Dye them with the respecive dye tub.
    Reequip my items.

    Steps 1 & 3 are fairly easy. But I wasn't able to pull off Nr. 2.
     
  2. Desa2k

    Desa2k Journeyman

    Joined:
    Apr 17, 2012
    Messages:
    116
    Likes Received:
    12
    I don't believe it would be possible with a macro. Absolutely not in the default ui, but in pinco's, maybe... you would have to store the dye tub, and the armor being dyed as objects. You can only store 5 objects currently in the ui, so it would be the dye tub, and 4 pieces of armor. Ill give it a try here.

    1 drag all the store commands to a hot bar from the actions window
    2 store dye tub as default object 1 and armor default object 2 thru default object 5
    3 create macro
    unequip items, add the 4 pieces of armor to this action
    target default object 1
    use targeted object
    target default object 2
    cursor target current
    target default object 1
    use targeted object
    target default object 3
    cursor target current
    target default object 1
    use targeted object
    target default object 4
    cursor target current
    target default object 1
    use targeted object
    target default object 5
    cursor target current
    equip items, add the pieces of armor to this action also

    I'm not sure that will work, Ive never had luck with stored objects. You may have to add a few delay's in there and/or waitfortarg.
    The "Use Targeted Object" action may not work for items in your backpack, but if it does work, you would only need to restore default object 1 for different dye tubs, the armor stored objects would stay the same.
    Hope this helps..
     
  3. Thrakkar

    Thrakkar Slightly Crazed
    Stratics Veteran Stratics Legend

    Joined:
    Mar 18, 2004
    Messages:
    1,358
    Likes Received:
    343
    Thanks for the input. Unfortunately it just works with 5 items and my armor has 8 dyable parts...
    I was trying it with the TargetByObjectId-Action (this might be something from Pinco's UI), still no luck.
     
  4. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,675
    Likes Received:
    865
    3 words: cursor target stored