Sorry if I have so many questions, but how do I return all the passable tiles(x, y) from point A to point B with the shortest route? I already done this by letting an event walk using RPG Maker's default pathfinder. But in every map load, I need to do this like 50 times. I think it's causing some lag.
How to do this without a walking event?
Update: Already solved my problem by modifying the findDirectionTo() function inside mmz_objects.js (although I copied the entire inside another function).
How to do this without a walking event?
Update: Already solved my problem by modifying the findDirectionTo() function inside mmz_objects.js (although I copied the entire inside another function).