YEP.19 – Save Event Locations

Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.

You can grab the plugin here:
English Dropbox
English Mirror

Portuguese Dropbox
Portuguese Mirror

NPC’s often reset their map locations when a player reenters a map. However, you can change that using this plugin by having the game save their event locations!


Introduction


Normally in RPG Maker MV, leaving a map and returning to it will reset the map positions of all the events. For certain types of maps, such as puzzles, you would want the map to retain their locations.


Notetags


Map Notetag:
<Save Event Locations>
This will cause the map to save every event’s location on that map. After leaving and returning to that map, the events will be reloaded onto their last saved positions in addition to the direction they were facing.

Event Notetag:
<Save Event Location>
This will enable this specific event to save its location on this map. After leaving and returning to the map, the event will be reloaded onto its last saved position in addition to the direction it was facing.

If you wish to reset the position of the Event, simply use the Event Editor and use “Set Event Location” to anchor the event’s location to the desired point as if you would normally.


Plugin Commands


Plugin Command

ResetAllEventLocations
This resets all the event locations on the map.


Happy RPG Making!


Happy RPG Making!


These plugins and Tips & Tricks ideas are made possible thanks to our creative patrons on Patreon! The majority of our Tips & Tricks, Plugins, and Lunatic Pack ideas are placed within the Patreon-exclusive Sample Project for quick and easy access! If you'd like to make a Plugin Suggestion, Yanfly's Patreon-based Suggestion Box a visit here:


If you have any bugs to report, visit the following link:


If you have any questions about Action Sequences, visit the following link:



Thank you!