Jump to content

Item Select -> Use?


Hel

Recommended Posts

Back with another thing that's bothering me, I'm trying to get the bot to right click on an item, then select use. 

Using the regular interaction mode, the bot just left clicks, rather than going through the menu.

I've looked & fiddled and can't seem to find what I'm trying to do. 

Using 
 

inventory.hover(i);
mouse.click(true);
inventory.interact(i, "use");

the bot deselects the item, just to left click it. 

Any help would be appreciated :)

Link to comment
Share on other sites

Back with another thing that's bothering me, I'm trying to get the bot to right click on an item, then select use. 

Using the regular interaction mode, the bot just left clicks, rather than going through the menu.

I've looked & fiddled and can't seem to find what I'm trying to do. 

Using 

 

inventory.hover(i);
mouse.click(true);
inventory.interact(i, "use");

the bot deselects the item, just to left click it. 

Any help would be appreciated smile.png

 

 

Remove the first two lines, they are doing nothing at all. 

Link to comment
Share on other sites

Remove the first two lines, they are doing nothing at all. 

I don't think you are understanding what I was trying to do, I was trying to force the bot to use the interaction menu, I tried making it do this by getting the bot to select the item first, then interacting with it. 

This did not work as the bot simply clicked out of the interaction menu, then proceeded to singular left mouse click on the item. 

The first two lines were a way of opening the menu, but thankyou :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...