Kudos to Frederico for finishing a first version of the pathfinding! :-) Get it from CVS and see it in action in test/path_test.
I had the chance to think about the pathfinding a little bit more and there's something else that will be important to have: an event to notify us when the goal is reached (or the path turns out blocked). That is required, because the schedule will basically have to initiate pathfinding, then "sleep" until something happens that requires further action. This is mostly for performance reasons, as the schedule will be a Python script and it becomes too costly to call every character's schedule regularly to monitor advance of some activity. I guess this can be easily enough integrated with the existing event system (see quest_event, audio_event or time_event and their respective managers as examples). Some details are also at: http://adonthell.berlios.de/doc/index.php/Architecture:Event_Module Kai _______________________________________________ Adonthell-devel mailing list Adonthell-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/adonthell-devel