• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Accessing data on navigation hop

    Discussion in 'Community Developer Forum' started by razzie123, Aug 1, 2015.

    1. razzie123

      razzie123 New Member

      Joined:
      Dec 26, 2010
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Hey, I'm currently working on a plugin to try and make the bot behave in a somewhat more human-like manner. One of the ideas I had was to have the bot jump at random times while moving, however my current implementation does not take into account whether the character is close to the end of a hop. This means that sometimes the character will jump past the hop, and then swivel round to reach it. Obviously this looks extremely bot-like, so I want to implement a check requiring a minimum distance before jumping.

      Despite looking through the documentation I cannot find a method that would allow me to either get the distance to the next hop, or its vector. Is this something that is currently possible, and if so, could you point me in the right direction?

      Thanks in advance for any response.
       

    Share This Page