December 21, 20187 yr 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!
December 21, 20187 yr Author Thanks, but all of the fishing spots have the same action, as it's the fly fishing ones. And closest returns a random one if both are the same distance away, any other ideas? Thanks Solution: use *.interact() without an input parameter (credit to Fruity) Edited December 21, 20187 yr by Translink1 Solution
December 21, 20187 yr For fishing, you need to filter the fishing spots by both actions and their order. So make an enum with all fishing spots and their 2 options, then filter respectively
Create an account or sign in to comment