ID:160548
 
Hi, I was wondering if it's possible to move a mob using like walk() or something but not let the user control the movement with input. I used

mob/Move()
if(move)
return ..()


but then I can't move them with walk()
The only thing I can think of is to use loc=locate(x,y,z), most other procs call Move() before they do anything.
That's just an obvious problem caused by not having move set to true when using walk().

Also, and this will also prevent the problem, to disable player control AND prevent disabling (read: breaking) any of your code that uses moving, override client/Move() instead of mob/Move(). It's a better method.
In response to DivineTraveller
Thanks guys it works good