ID:273420
 
I've looked everywhere and tried so many thing, but it just refuses to work.

How do I disable a mob from moving / changing directions? I need to know so when players go AFK, they can't move around.
By overriding client/Move(). To allow movement perform the default action (..()), and to disallow movement, don't.
In response to Garthor
I don't understand it, can you show me an example of how it's coded into DM?
In response to Ryu-Kazuki
client
Move()
if(you want to allow the player to move)
..()
I didn't know people could type the arrow keys when they're away from their keyboard.
In response to Garthor
Now I'm confused... I can't figure this out.

It's

client
Move()
..()


If I want them to move, right?
In response to Ryu-Kazuki
Ryu-Kazuki wrote:
Now I'm confused... I can't figure this out.

It's

client
> Move()
> ..()

If I want them to move, right?
They only move if the ..() part of that proc gets called. "..()" calls the standard client/Move() behavior which will move them. If it's never called, (by putting it in an if statement), then they don't move.