Jump to content

Differences between entity, npcs, and objects?


Recommended Posts

So it seems all of these can work the same:

RS2Object tree1 = objects.closest("Oak");
Entity tree2 = objects.closest("Oak");
NPC tree3 = npcs.closest("Oak");

What are the differences if they all accomplish the same job of finding the closest oak tree? [What is the right tool for the job?]


Continuing on it looks like they all can be interactable:

tree.interact("Chop Down");
tree2.interact("Chop Down");
tree3.interact("Chop Down");

Again what is the right tool for the job if they all do the same thing?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...