Rockname 0 Posted July 8, 2017 private void openBank(){ GameObject bankChestObject = getGameObjects().closest(gameObject -> gameObject.getName().equals("Bank chest") && gameObject != null); if(!getMouse().click(bankChestObject.getClickablePoint())) sleepUntil(() -> getMouse().click(bankChestObject.getClickablePoint()), 10000); } I tried replacing it with gameObject.interact(); but it gave me same result. Sometimes it clicks on the object and sometimes it just does nothing and lets the timer run out. This is giving me headaches, any ideas?
Rockname 0 Author Posted July 8, 2017 Doesn't work, still same problem EDIT: The gameobject colliders are all bananas. When I'am far away from the gameobject the colliders are allign like this http://prntscr.com/ft4ruy. Weird.. But when I'am close to the gameobject it looks like this http://prntscr.com/ft4sby . How do I fix this???
Recommended Posts
Archived
This topic is now archived and is closed to further replies.