Jump to content

1stTimeDev

Members
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by 1stTimeDev

  1. Okay, so the script will grab the initial movement for an NPC. You're right, it should return true if the npc is walking, but the problem is that the npc has two phases - Walks and stops. If the npc has stopped moving when the script is writing about it it will return false which is wrong. So, if the goblin is stationary when the script finds it it will return false, and if one goblin is active when the script finds it it will return true, whereas we know, all goblins move. Is there any way we could actually check if the npc has walked in a given time and if not, it would return false.
  2. Well, for example public boolean dump(NPC n) { log("Is npc moving" + "" + n.isMoving()); } Only one npc around me, so if the npc is moving it will return true, but when the npc stops it will return false. It works the same way when writing to pastebin. It isn't right.
  3. How would I grab if the Npc is walking? n.isMoving will return true or false depending when the script grabs the npc. So if a guard is walking when the script gets to it, it will return true or if its stationary, it will return false but as we all know all guards will walk. Hope this made sense and any help is appreciated.
×
×
  • Create New...