Hi everyone! How would I go about creating an event using a custom-made plugin? I understand the basics of OOP and have made a few really simple scripts with plugin commands but now I would like to try something a little harder.
Goal: Create an event on the current map using a plugin command.
I find learning to script my own stuff is insanely fun but I'm still a bit new to everything. Thanks!
PS - Are there any objects besides Game_Event and Game_Map that I'd need to play with to make this work?
not exactly sure what your trying to do, mind explaining what you want to do a bit more please
The experience from Ace (where a script for exactly that was written) has shown that this is an extremely bad idea - it is much better if you create the event in the editor in a master-map, and simply clone/copy it to the current map if you need it.
That has a lot of reasons, because creating an event by script/plugin is NOT easy and requires dozens of complex lines to set everything up, and it is usually a lot easier to simply prepare and copy regular events.
Ah ok, cool. That makes sense. How would I go about cloning an event and placing it on the map?
Thanks
you need a script/plugin for that, just search for "clone event"
Cool. I've found a script by Yanfly that's in ruby that does what I'm looking for. As a learning tool I'll try and convert it to be compatible with MV. Thanks everyone
Thanks for the post Estriole. I've successfully made the architecture for a really robust ABS that relies critically on this idea. I'm pretty sure I'll end up just integrating your script as it has some really nice features.