Is there a way to make a "step_to()" proc that would only allow non-diagonal directions?
Thanks in advanced.
ID:267356
Mar 17 2003, 6:22 am
|
|
You'll have to use Deadron's PathFinding library for this, I think. You can customize procs in it to allow only cardinal-direction movement.
Just for quick reference, you can tell a direction is diagonal like this:
Lummox JR