Ok quik question how would i stop monster diagonal movement ive tryed doing it the same way as you would for a client but came up empty handed with errors out the rump.plese help me.
ID:270046
![]() Dec 22 2005, 6:30 pm
|
|
Why not just turn in a random direction?
d &= pick(3, 12) Of course you also need to recalculate the new location. In fact it's probably best to check if either direction is open first. If both are open or both closed, pick the north/south or east/west component at random. Otherwise, pick the open one. Lummox JR |
~~> Unknown Person