Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Reachable Target

Joined
Aug 10, 2016
Messages
8
I was wondering ... how do I check if a target is reachable ? for example a npc to interact with
 
Joined
Mar 28, 2017
Messages
286
Taking a look at the Java Docs for Runemate's API:

  • Checking the distance between the NPC and you
  • Checking to see if the NPC's position is reachable, either via .getPosition.isReachable OR adding the filter method to check for reachability within your query, but I think checking if reachable in queries makes the query longer
  • Checking if the NPC is visible
  • and ofc making sure the NPC exists :)


RM JDocs: Npc
 
Top