Jump to content

How to select mines in a certain area


Recommended Posts

Posted
Just now, Wazebi1 said:

Yes i mean only get some type of rock in a certain place and not others

You could do it like this:

RS2Object ore_vein = getObjects().closest(obj -> obj.getName().equals("Ore vein") && MINE_AREA.contains(obj));

This will only mine certain rocks in the a certain Area you created if it exists.

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...