Basically, i just wanna know how i can return a value if the path cannot be completed and also to “resevere” a node (on a grid graph) so that 100 AI’s dont all try and bundle onto one node.
For the error i tried. But i now relise this is once the Path has been complted and moved, not just calculated. How do i check for errrors after path calculation but before the Seeker starts to move?
void OnPathComplete(Path p) { if(!p.error) { path = p; // reset waypoint Debug.Log("Hmm no error!"); currentWaypoint = 0; }if(p.error) { Debug.Log("YAY ERRRROR!!!!"); } } </blockquote>
Oh an by the way this project is great!!! but i dont like the documentation