Jump to content

jimmmy23

Members
  • Posts

    20
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by jimmmy23

  1. Is it a bad idea to call this before every pickpocket? Or is there a way to check if the NPC is clipped by anything before calling it?
  2. Yes I am. I tried completely covering the NPC with a tree/wall, and isVisible was still true. Here's an example snippet: Entity man = getNpcs().closest("Man"); man.interact("Pickpocket");
  3. Hey, I'm new to scripting. Something i've noticed is when using the standard someNpc.interact() and the NPC is clipped by an object like a wall or tree, someNpc.isVisible() is true, even if the NPC cannot be seen. I'm assuming this is because the NPC is on the screen but simply behind an object. Is there a method that works for object clipping or a way to move the camera so that the npc isn't clipped by anything?
×
×
  • Create New...