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
  3. The Broadsword team is seeking alternative castle designs! Learn more and discuss here!
    Dismiss Notice
  4. Publish 97 is currently on TC1! They are currently focusing on the training aspect of the pet revamp. Head to TC1 and send in your feedback or discuss here!
    Dismiss Notice
  5. Broadsword is hosting a 20th Anniversary Party for UO this September! Learn more here. Will you be there, Guest?
    Dismiss Notice
  6. A new State of Stratics is up. Check it out here!
    Dismiss Notice

Help with command to use item

Discussion in 'UO Enhanced Client Discussion' started by Tardis, Apr 20, 2013.

  1. Tardis

    Tardis Visitor

    Joined:
    Mar 27, 2013
    Messages:
    3
    Likes Received:
    5
    Is there a way to use an item in an open container given its object ID? I know about UserActionUseItem(objId, bool), but this isn't working by itself. Is there some window data that needs to be registered, or is this type of action not possible? Sorry if this has been answered before, I wasn't able to find a solution. Appreciate the help, I'm new to this part of EC and I'm loving it so far.
     
  2. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,694
    Likes Received:
    869
    you can't use items by script in any way, just drag it into the hotbar to do that or inside a macro...
     
  3. Tardis

    Tardis Visitor

    Joined:
    Mar 27, 2013
    Messages:
    3
    Likes Received:
    5
    That's what I figured. Saved me a lot of pain trying random things, thanks for the quick reply Pinco!