Galv's Event Spawner MZ

Event Spawner
RPG Maker MZ Plugin
Galv
​

Introduction
Spawn new events on a map.





Features
Spawn events from a specified map onto other maps at the location you choose or to a random region tile on the map.
Specify if you need the spawned events to be temporary (disappear when the player leaves the map) or saved (stay on the map forever like a normal event).


How to Use
- Copy the "GALV_EventSpawnerMZ.js" file into your project's /js/plugins/ folder.
- Activate plugin using the 'Plugin Manager'
- Read the 'HELP' documentation (also found in plugin manager) for more details and try the demo if you don't understand.


Plugin
Get it here


Credit and Thanks
- Galv


Terms
Free to use in any RPG Maker MZ project including commercial. Please credit "Galv".
:)
Nice script ! Thanks Galv
This is one of core plugins in my huge mv project. Thank you for porting it to mz so I can continue the project in mz.
Thanks for that! Would bo cool to spawn event on X, Y position set by variables.
Example of using variables in the script call (hopefully I didn't do any mistakes, I didn't test this):
JavaScript:
let x = $gameVariables.value(1); // value of variable id 1
let y = $gameVariables.value(2); // value of variable id 2
Galv.SPAWN.event(eventId,'xy',[x,y],'all',true);
Updated to 1.1 – fixed a crash when an animation was playing on an event while it is unspawned.
Galv would it be possible to port your Spawn Timer plugin to MZ, or to integrate it with this plugin?
Yes, I am slowly porting all my plugins over as I have time.
Thanks for porting this to MZ! I'm finding a compatibility issue with VisuStella Events Move Core.

Spawned events do appear on the map but their passability becomes "through", their movement routes don't work and the event doesn't trigger. Is this a known issue / is there a workaround for this (other than not using visustella)?
Unfortunately I am unable to make my plugins compatible with Visustella currently. Have you tried asking them?
Thanks for porting this to MZ! I'm finding a compatibility issue with VisuStella Events Move Core.

Spawned events do appear on the map but their passability becomes "through", their movement routes don't work and the event doesn't trigger. Is this a known issue / is there a workaround for this (other than not using visustella)?
Unfortunately I have the same issue. Any idea if there's a way to fix it?
I realised that the VS Events core actually includes an event spawner function so I have just been using that.
I realised that the VS Events core actually includes an event spawner function so I have just been using that.
I did the same now, works fine. 🙂
quick question, how do I copy everything including the notes? I am trying to copy an event where the event has a note that adds label above it with the places name.
I'm trying to spawn to variable values. I have put: $gameVariables.value(1), $gameVariables.value(2)
in the location data area of the plugin command and it's set to x and y. Even in a clean project it isn't spawning. What am I doing wrong?
I noticed that a spawned event that should spawn another event causes an error.
upd: No. I made a mistake, the error was in another, I put the unspawn script inside the loop
Hi-
I created a specific map for EventRespawn (MAP099) and referenced it in the plugin parameters but I keep getting this.
Any help would be appreciated.
Thanks-
01.png
02.png
You have MAP099 as your Map Id. It should just be a number:
99

The Map Id is different to the Map name.
You have MAP099 as your Map Id. It should just be a number:
99

The Map Id is different to the Map name.
Ahhh...I didn't try that. Thank you-
Hey does anybody know how to make this Spawn on all of a region?

I.G. Spawn coins on all of Region 3

Original thread: https://forums.rpgmakerweb.com/threads/galvs-event-spawner-mz.127944/