• Hail Guest!
    We're looking for Community Content Contribuitors to Stratics. If you would like to write articles, fan fiction, do guild or shard event recaps, it's simple. Find out how in this thread: Community Contributions
  • Greetings Guest, Having Login Issues? Check this thread!
  • Hail Guest!,
    Please take a moment to read this post reminding you all of the importance of Account Security.
  • Hail Guest!
    Please read the new announcement concerning the upcoming addition to Stratics. You can find the announcement Here!

Help with command to use item

Tardis

Visitor
Stratics Veteran
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.
 

Pinco

UOEC Modder
Stratics Veteran
Stratics Legend
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.
you can't use items by script in any way, just drag it into the hotbar to do that or inside a macro...
 

Tardis

Visitor
Stratics Veteran
That's what I figured. Saved me a lot of pain trying random things, thanks for the quick reply Pinco!
 
Top