Jump to content

Clicking


Recommended Posts

Posted
 
org.osbot.rs07.input.mouse
Class MouseDestination

java.lang.Object
org.osbot.rs07.input.mouse.MouseDestination
Direct Known Subclasses:
AreaDestination, BankSlotDestination, DepositBoxSlotDestination, EntityDestination, EquipmentSlotDestination, InventorySlotDestination, MainScreenTileDestination, MiniMapTileDestination, PointDestination, RectangleDestination, StoreSlotDestination, TradeOfferItemDestination, WidgetDestination
  •  
  • Like 2
Posted
29 minutes ago, Chris said:
 

org.osbot.rs07.input.mouse
Class MouseDestination

java.lang.Object
org.osbot.rs07.input.mouse.MouseDestination
Direct Known Subclasses:
AreaDestination, BankSlotDestination, DepositBoxSlotDestination, EntityDestination, EquipmentSlotDestination, InventorySlotDestination, MainScreenTileDestination, MiniMapTileDestination, PointDestination, RectangleDestination, StoreSlotDestination, TradeOfferItemDestination, WidgetDestination
  •  

Okay but what if I want to click on a certain spot on my screen, for example, a cake stand?

Posted
1 hour ago, phony said:

Okay but what if I want to click on a certain spot on my screen, for example, a cake stand?

A cake stand is an object. You can directly interact with objects so you don't have to do anything with mouse destinations or click mouse event.

Read through this thread: 

 

 

Posted
1 hour ago, Zappster said:

Just try to avoid making your own interaction events. Don't reinvent the wheel                   

To interact with a cake stand...

Objects api -> objects.closest("cake stand").interact("steal"); (you'll need to null check your cake stand tho ;))

It's the same sorta stuff if you want to access items/npcs/entity

 

Won't that: right click -> steal, I feel like its way more U/D if you just click, as thats what I do when I am training theaving legit

Posted (edited)
38 minutes ago, phony said:

Won't that: right click -> steal, I feel like its way more U/D if you just click, as thats what I do when I am training theaving legit

I'm not 100% sure since it's been a while that I had to do anything with interacting outside of inventory, but I think it will left click if the wanted interaction is first.

Edited by Zappster
Posted
8 hours ago, phony said:

Won't that: right click -> steal, I feel like its way more U/D if you just click, as thats what I do when I am training theaving legit

Nope, if the steal option is the option seen when you hover the object it'll left click it. Honestly the best way to learn these kinds of things is to test them out yourself and see what it does first hand.

  • Like 1
Posted
On 5/14/2017 at 6:24 PM, d0zza said:

Nope, if the steal option is the option seen when you hover the object it'll left click it. Honestly the best way to learn these kinds of things is to test them out yourself and see what it does first hand.

Not if it selects a click point with another player object behind it ... a player would simply cancel out and pick a better left click spot

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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