Jump to content

Interacting with bank in OSBot 2


todamach

Recommended Posts

Guys, calm your tits rolleyes.gif  I suck at java in general, and now it's whole new API, so I'm confused more than usual. 

 

Since, I don't like creating new thread for every small question (or should I do that?), I'll ask here:
 
			if(East[i].contains(ore) && canReach(ore)){
				
			}

I want to check if area contains entity, and if I can reach that entity. Obviously, I don't know how to use canReach. So, how to use canReach?

if (area.contains(object) && map.canReach(object)) 
     doSomething();
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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