ID:272230
 
turf/Click()
the_walk(usr,src) //calls a proc, for the user that clicked and the turf they clicked.

turf/proc
the_walk() //the above proc
sleep(usr.walkspeed) //sleeps for aslong as your walkspeed
go_step() //calls another proc
go_step() //alright... having problems
walk_to(usr.walkamount,src) //it doesnt ever move you. it's supposed to move you by your walkamount. o,o;

read the comments please. and thanks~ ^^
You could edit the mob/Move() to skip making the walk procs all over again and save time and just use walk_towards(usr,src)
you should also probably use a pathfinder, i'm not sure how to make one but there's probably a library out there somewhere.
In response to Adam753 (#2)
There are two, both implementing the A* algorithm. I'd use Theodis', as it's the better one. BYOND's built-in system is good for simple paths, but A* is still far, far superior.
In response to Popisfizzy (#3)
A* algorithm?
In response to Eternal Desire (#4)
Yes, the A* algorithm.
In response to Popisfizzy (#5)
Popisfizzy wrote:
Yes, the A* algorithm.

which is? -_-
In response to Eternal Desire (#6)
On this place called "the internets" we have these magical sites called "Google" and "Wikipedia" at our disposal with just the push of a few buttons. Use them.
In response to Popisfizzy (#7)
and i did put "A*" in the search engine for the BYOND one.