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

[Tech Help] Help with script to change pets for a tamer

Discussion in 'UO Enhanced Client Discussion' started by Llewen, Mar 1, 2011.

  1. Llewen

    Llewen Grand Inquisitor
    Professional Stratics Veteran Stratics Legend Campaign Supporter

    Joined:
    Mar 3, 2006
    Messages:
    4,699
    Likes Received:
    200
    I'm looking for help with a script, or even to know if this is possible. What I want is a script that performs the following functions (this is a rough flow chart):

    - Has to be compatible with Pinco's UI.
    - Is started with an action icon.
    - "Which is your first pet?", target a pet.
    - "Please target your pet ball for this pet.", target a pet ball.
    - "Any more pets?" y/n
    - If yes, "Which is your next pet?", target a pet, return to two steps back.
    - Modifies the appropriate veterinary, remove curse, cure poison, heal, and pet ball macros to target the appropriate pets and pet balls.
     
  2. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,674
    Likes Received:
    865
    I have an idea, but I have to do it inside the UI...

    Basically I add 2 buttons:
    - Store Pet 1
    - Store Pet 2

    and add 2 actions:
    - Target Pet 1
    - Target Pet 2

    you just have to set all the veterinary, remove curse, cure poison, heal, and pet ball macros with:
    target pet 1 or 2 then action (like veterinary) with target current, and change the stored pet when you want to change pet :p

    I can make up to 5 store pets but more are useless...
     
  3. Llewen

    Llewen Grand Inquisitor
    Professional Stratics Veteran Stratics Legend Campaign Supporter

    Joined:
    Mar 3, 2006
    Messages:
    4,699
    Likes Received:
    200
    Hmmm, that sounds like it would work and accomplish the same thing that my script would. Had to think about what you were saying for a bit though before I figured it out. :)
     
  4. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,674
    Likes Received:
    865
    have you used the petball actions?

    is the same way, but using 2 buttons: 1 to store the target as default, and 1 to take as current target the stored pet :)

    I warn you, doing this will requires 10 icons so dermott will go mad when he read this :lol:
     
  5. Llewen

    Llewen Grand Inquisitor
    Professional Stratics Veteran Stratics Legend Campaign Supporter

    Joined:
    Mar 3, 2006
    Messages:
    4,699
    Likes Received:
    200
    I haven't used the pet ball actions yet. I'm still using my old command script. Probably switching to the pet ball actions would make the process a little less labour intensive.

    And yes, poor Dermott... :(
     
  6. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,674
    Likes Received:
    865
    all done, just try the new version :p
     
  7. Llewen

    Llewen Grand Inquisitor
    Professional Stratics Veteran Stratics Legend Campaign Supporter

    Joined:
    Mar 3, 2006
    Messages:
    4,699
    Likes Received:
    200
    Yep, already downloaded, and thank you again. :)