MV Galv's Event Spawner not working with Script Calls

So I was going to use Yanfly's Event Spawner to work my bomb event but Galv's Event Spawner allows you to spawn events on top of other ones so I decided to go with it, but it's not working to way I want.

Code:
Galv.SPAWN.event(23,($gameVariables.value(4)),($gameVariables.value(5)));

Should logically spawn the event 23 where the the variables are right? But it doesn't - nothing happens at all no matter where I try to spawn the event. I set the map and such correctly so that's not it.

Anyone know why it's not working and if I should just switch back to Yanfly?
I haven't used this plugin but maybe try:

JavaScript:
Galv.SPAWN.event(23,$gameVariables.value(4),$gameVariables.value(5));

I simply removed the additional parenthesis around the variables.
I haven't used this plugin but maybe try:

JavaScript:
Galv.SPAWN.event(23,$gameVariables.value(4),$gameVariables.value(5));

I simply removed the additional parenthesis around the variables.
Nope, no luck - but thank you for trying. 🙂
It's always a good idea to check the value of your variables when something doesn't work.
In playtest mode, F9 will bring up the value of all your $gameSwitches and $gameVariables.

The first time I used Galv Event Spawner, it didn't work. I never figured out how I got to work.
It's always a good idea to check the value of your variables when something doesn't work.
In playtest mode, F9 will bring up the value of all your $gameSwitches and $gameVariables.

The first time I used Galv Event Spawner, it didn't work. I never figured out how I got to work.
I have a whole event dedicated to testing the bomb events variables. Sadly that doesn't appear to be the problem (sadly because if it was it'd be fairly easy to fix all things considered). If you manage to remember anything let me know.
Hi!
If you are doing everything correctly as you said, then it can be plugin compatibility.
To be sure, get the Galv Sample Project and make the test there, with the script call.
If it works there, then it's something on your end. Either plugin compatibility(So you should deactivate plugins one by one and test the script call after each deactivation) or you set up things wrong.

Don't forget that you need another script call to overlap the event:
1629156923384.png
Yes, what Eliaquim said.

In my case, it was probably just forgetting to read the documentation. Because that is what just happened when I tested it right now. I specified the id of the event I wanted copied on the current map, not the id of an event on a special spawn map.


Galv's help file:
This plugin allows you to copy events from a specified 'spawn' map and duplicate them onto the current map. This spawn map is designated with the "Spawn Map Id" plugin setting.

Also note, that regarding spawning on other events:
When spawning an event, it's important to know that if the location is blocked by impassible terrain, the player or any other event - it will not spawn unless you have previously changed Galv.SPAWN.overlap script call to one of the settings that allows it to overlap things.
or you set up things wrong.
Yes, what Eliaquim said.
So yeah, turns out I was messing somethings up. I forgot the ' around the overlap call. (example: 'all')

Also the script acts up if you should have the event being spawned in from the same room as the room your testing. So since the event being copied is in my DEBUG room it was never going to work properly to begin with. 😀
Testing in a different room has bared much more fruitful results.
Thank you for yer help.

Original thread: https://forums.rpgmakerweb.com/threads/galvs-event-spawner-not-working-with-script-calls.139658/