ID:163161
 
How can I disable it?
You can go to the client/direction() procs and return them immediately.
client
Northeast()
return
Northwest()
return
Southeast()
return
Southwest()
return
client
Northeast()
return
Northwest()
return
Southeast()
return
Southwest()
return


i think that's how you do it...
You may also want to disable diagonal movement for mobs (not just players):
mob/Move(location,direction)
if(direction & (direction-1)) // if direction is diagonal
return 0
return ..()
In response to DivineO'peanut
Oh that's how you disable diagnol movement in mobs, I if checked certain bit values for the diagnols that I know of. That's pretty helpful!
In response to Kakashi24142
Actually that's quite counter-productive and will probalby break your code as the calls you're using to make mobs move will fail; you need to make sure those calls don't end up making a diagonal move, or override Enter() to disallow a movement if it is a "non-teleport" and the movable is placed diagonally to the source, or something to that extent.