Wow, sounds incredible, I was actually looking for something like this and was planning to learn some ruby to implement it, seems like it's not necessary now great work Jet! 😀
0.0 You, sir, have impressed me.
Odd, I was just thinking about this earlier. Pretty cool, plan do something like it in VX?
Apparently A* algorithm is supposed to run at log* time.
How long does it take to find a path on a map that's 100x100 and you're going from one corner to the other?
What makes a pre-made map different from a randomly generated one?
For a randomly generated dungeon, does that half-second apply to every pathfinding call or just the first time (presumably to set-up the graph?)
How does the script handle cases where the selected path is suddenly blocked off?
For example, when multiple events are moving simultaneously.
Or when you have a large party and they're trying to cross a bridge that is wide enough to support only one event.
I think these are the kinds of things a lot of scripts seem to be having issues with.
Does it re-compute a new path if someone needs all of those guys to get across the bridge eventually?
Issue - I think. I have an event that should walk (on a 17x17 map) from 08 x 05 to 08 x014 so I set up the events and set the move script in the movement route for that event:
find_path(8, 14)
How ever - the event does not move. the path is walk able, there is NOTHING blocking its way.
Did you guys set the event to activate upon player touch? Also, if it's for the player, I found that setting up a Move Route for the player and using the "Script..." button in there works wonderfully. So, your event should look similar to this:
@>Set Move Route: Player
: $>Script: find_path(8,14)
Thanks for this Jet! Works beautifully with Lemony's Follower Move Routes in the same fashion I just posted. Needed this for various conversations with NPCs!