@Botre
it will sometimes click on another chicken while he's alrdy in combat with a chicken, and sometimes while he's fighting a chicken, it will reclick on the chicken, while it is alrdy fighting it.
And after it has killed the chicken, it will keep clicking on it till it completely dissapears (the animation of one dying and dissapearing).
"1) Get the instance of the NPC"
if i do that, and the chicken is alrdy under attack by someone else, it will do nothing and wait till it's dead, while it should be looking for another one to kill, that can be located a bit further than the one in the instance. So basically it is wasting time while he could be attacking another one.
Or do you mean something else, or did i misunderstand u?