Characters jitter when they move towards me in Developer Help
|
|
How do I stop that? The character is jumpy and doesn't move smoothly towards me. What could be the cause of this?
mob/enemies/proc/FightingAI(mob/player/M as mob) while(src.arm > 0) for(M in view(8)) if(get_dist(M,src)==1) src.NPCAttack(M) else if(get_dist(M,src)<=8) step_towards(src,M) else step_rand(src) sleep(1) sleep(1)
|
|