GALV spawn event- self spawn on locality x,y position.

Hello! I'm experimenting with Galv's spawn event plugin again- unfortunately according to some sources even from his website he has not got the time to help with each individual case, mines a simple request for assistance.

From what I understand the plugin only allows events to be spawned on region tiles and x,y positioning through the script calls.
However there isn't from what I understand the ability to call for an event to be spawned on the current event's coordinates where ever it may be on the map, to put it in simple detail I have cars that randomly spawn on designated regions on each map- some are unique that I intend to spawn event/battle handler npcs but I wish them to spawn at the vehicle's position where ever it may randomly be.

for reference; this is the plugin I am speaking of.
https://galvs-scripts.com/category/rmmv-plugins/mv-event-utility/#post-1717
Couldn't you use a proximity script and when the player is in a certain range of the car it starts a battle? Or are you using on map battles? (Which i also think could be triggered with a proximity script)

Edit: Nevermind. Misread the request
Just to clarify, you're try to spawn new events from the randomly spawned cars? If so, something like this should work:
Code:
Galv.SPAWN.event(99,$gameMap._events[this._eventId]._x,$gameMap._events[this._eventId]._y);

If you ran this code from the car event itself, it would spawn event 99 on that event's X and Y location. Let me know if this is what you were looking for, or if not perhaps I can get a better understanding on what you're trying to accomplish.
Yep pretty much, the goal behind this is that when roaming the streets enemy vehicles that detect you will spawn an enemy group that will engage in combat with you- this will also allow me to make more variety of random outcomes and other interesting things.

However that plugin/script call does not seem to be working, I tried to have it spawn even 6 from the spawn map and it is not applying the desired effect, does this also require a command to ignore already occupied tile by the vehicle's event? If it cannot be avoided perhaps spawning could occur 1 tile below or above.
Try spawning it below or above first, by default, you cannot have two or more events in one location so Galv might have ensured that the default behavior is followed.
Hm how do I command it to position itself lower? I'm not 100% sure but depending on the map size y,x could be anywhere?
One position lower would be y+1.. On Ace's code, just put +1 after the ._y call

Only problem is if the y coordinate is already the lower most y of the map.
Ah the spawning is definitely working this time now, this will be quite handy as I can also run conditional branches that spawn them at different positions depending where the car is facing, now it's up to figuring out how to make the vehicle handle player detection.
The beautiful thing about Galv's Event Spawner is you can spawn events on top of things. You simply have to enable it by using one of these scripts before the spawn call....

Galv.SPAWN.overlap = 'chars';
Galv.SPAWN.overlap = 'terrain';
Galv.SPAWN.overlap = 'all';

The first lets it overlap any event, the second lets it overlap impassable terrain, and the last just lets you put in on top of anything.
Ah the overlap chars is perfect, this is a great help from you all!

I'm using the galv detection to execute the enemy spawn on detection but I can't figure out how to have it executed in commands rather than in the moveroute like the plugin suggests 😛
If anyone has further knowledge on the galv plugins- there is one last thing I need to complete this experiement:
https://forums.rpgmakerweb.com/inde...ional-branch-with-galv-spawned-events.114259/

Original thread: https://forums.rpgmakerweb.com/threads/galv-spawn-event-self-spawn-on-locality-x-y-position.114216/