ID:2819651
 
Code:
    proc
ai()
if(target)
if(bounds_dist(src, target) > attack_distance)
move_towards(target)
else
stop()
if(can_hit)
can_hit = 0
hit(target)
spawn(speed)
can_hit = 1

else
target = find_target(target_range)

wander(wander_distance)


Problem description:

I've attached a gif so you can understand easier what's going. Using move_towards() in forum_accounts library seems to cause the AI to wobble on it's path I guess?

After a tweak move_to() seems to work perfect when I use that instead of move_towards()

IFRAME: https://gfycat.com/ifr/TinyCarefreeAnkolewatusi

Hey did you ever figure it out? I just encountered the same problem.
F_A's library is a bit outdated. There has been numerous updates to BYOND since then, so no one would really be able to help you debug.
that's unfortunate =[

Login to reply.