Jump to content

Stacked npc selection - fishing spots


Recommended Posts

Posted

Hello,

Just wrote my first fishing script and all is working well. However if two or more "Fishing spots" spawn on top of eachother, sometimes the script will right click and select the one "under" the other fishing spot.

I use npcs.getClosest("Fishing spot") and *.interact("Use-rod"). I tried using isVisable() and isOnScreen but neither seem to work.

I am wondering is there a way to always left click on the top fishing spot as to avoid right clicking on the lower one?

Thanks!

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