# Voltseon's A-Star Pathfinding 1.0

Pokémon Essentials Version
Download is in the top right by the way ;)

Have you ever wanted to make an event move to a specific location but had to calculate an entire 50 page long move route?
These days are over with VASP! All you have to do is call a simple script command with this plugin, you select the event and its destination and voila! This script will calculate the correct move route for you so you don't have to worry about it.

Does it work with the player as well?
Yes it does! Instead of defining the event ID you just input $game_player and the plugin will do the rest. Also neat feature you can do with this plugin is make an event look at a specific location or event. This is useful for those situations where you want an event to look at another but you're just not sure where they'll end up. An example of the plugin in use is shown in this tweet, where a Beedrill automatically finds its way through a maze. Side note, the pathfinding does take the through toggle into consideration. If it is turned on when the script is called it will just take the shortest path. Double side note, pathfinding in extremes will lag your game while calculating, this only really happens with huge open areas. And with huge I mean triple digits huge. Step 1: Download the zip folder using the button on the top right (you'll be linked to the download page) Step 2: Unzip the contents using unpackaging software like 7zip or WinRAR, some windows desktops also inherit this feature (short video instruction) Step 3: Open the extracted folder until you see just a Plugins folder. Step 4: Move the Plugins folder to your project file. (Make sure you're on v19+) Step 5: Enjoy pathfinding. (Learn how to use the plugin using the spoiler below.) When you want your event to move / look at a location / event, call a script command within that event with the following: To move an event to a location / event use: move_to_location(EventID, X, Y, WaitForComplete) move_to_event(EventID1, EventID2, WaitForComplete) Example: To make an event turn towards a location / event use: look_at_location(EventID, X, Y) look_at_event(EventID1, EventID2) Example: NOTE: If you want to use the player, instead of EventID use$game_player
Credits
Voltseon & Golisopod User
Author
Voltseon
Downloads
71
Views
1,083
First release
Last update
Rating
1 ratings