HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [] Chardriver question  (Read 595 times)

katoomm0m0

  • General Accounts
  • *
  • Posts: 44
    • View Profile
[] Chardriver question
« on: Nov 09, 12, 02:39:42 AM »

Hi

I have recently begun implementing Ai for our NPC's and i have a question regarding $E_Chardriver. If i call the method $E_CharDriver._DriverClearPoints( agent, true ) should it not stop the Chardriver from moving the NPC?

What i am trying to do is fairly simple, i have created a copy of the E_AiStateWander class but set its radius to 10 instead of 0.75, now when i push a state on top of this that is suppose to stop the NPC (pause the wandering), the NPC keeps going until it reaches its wander destination, then stops. I would like to be able to stop it right when I push my 'pause' state on top of the wander state, I hope someone could give me a hint to what I might be missing.

- Regards Claus
« Last Edit: Nov 14, 12, 04:34:56 PM by HE-Cooper »
Logged
- Claus