mob/Move()
if(move)
return ..()
but then I can't move them with walk()
ID:160548
![]() Aug 23 2008, 5:57 am
|
|
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() but then I can't move them with walk() |
![]() Aug 23 2008, 6:03 am
|
|
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. |