ID:170057
 
How can i get a monster to follow a path?
I've tried a lot of different ways of doing this and they didn't seem to work then i looked at demos and saw one with click(), but of course i don't need the click. It's almost like abra. (note the game i'm making isn't gonna be like castle)
You can program it to step in a direction at a certain time like:
mob/Thing/New()
..()
var/i

i=3
while(i)
i--
step(src,NORTH)
sleep(2)

i=10
while(i)
i--
step(src,EAST)
sleep(2)


Pretty much like that. It's effective, but not very good.
I made this a while back-

http://developer.byond.com/hub/Vowles/AIpath

Have fun
~Vowles