You'd need a pathfinding algorithm (such as A*) to find the best route to get there, and to hold at 2 squares away, you'd simply check before the monster took its next move how far away it was.
|
Results 1 to 6 of 6
Thread: Smart Monster Engine - Help!Threaded View
|
Click Here to Expand Forum to Full Width |