Galv's Event Spawner
Event Spawner - Version 1.6 RPG Maker MV Plugin Galv Introduction Spawn events from one map to the map the player is on. Screenshot Features This plugin adds the ability to duplicate/spawn events from a specified “Spawn Map” to the current map the player is on. These events can be...
forums.rpgmakerweb.com
I would like to spawn events on other events IF the existing event has the through option checked or is above/below the character priority.
I attempted to do this myself but I'm having issues.
I tried adding
&& $gameMap.eventIdXy(x, y)._through != true to the if statement in line 164 but I discovered for some reason ._through is always undefined for the event in question when I call it specifically, even if it's true when I log all the values inside of the event. Same with ._priorityType being 2. The event I'm trying to check ._through/._priorityType for is also spawned in with this plugin.The reason I need this is because I have my hoe from Galv's Simple Tools/Crops using Event Spawning to create the tilled dirt to plant in, and I would like to have an indicator show where the dirt would be spawned while the hoe is equipped. I'm doing this currently by having an event spawned in front of the player, but this event is blocking the dirt from being spawned in. I don't want the dirt to be spawnable in every location so I don't want to change it to be spawnable on top of all events.
Thank you in advance for any help.