walk_towards(Mob,usr)
Im sure you know what this does so im not going to explain it.. The problem is..I when the mob follows the usr and the usr goes enters into a turf that sends him to another map.. the Mob won't go there with him.
Is there any way to make it towhere it will do that?
ID:177106
Nov 3 2002, 6:35 pm
|
|
Nov 3 2002, 6:37 pm
|
|
You'll probably have to re-write pathfinding. Another alternative is to keep track of the usr's last location, and use step_to instead. Also, you could check for a Z change in Move(), flag the turf, and have the mob move there instead, then once he's moved there, continue hunting down the player.
|
In response to Garthor
|
|
Im doing it in a verb like this..
Make Follow(var/M as mob|obj in oview(5)) walk_towards(M,usr) world << "[usr] is making [M] follow him!" |