[RMMV] Randomly generated Event Enemies

I have one last battle system issue I'm trying to resolve. I know how to put events on the map as enemy encounters but what I would like to be able to do is have them spawn random events from a pool of events so that the exact same encounters aren't in the exact same place every time a player loads a map. Does anyone have an idea how to go about doing that?

Basically:
Enemy Pool 1:
Event 001 - Enemy 1
Event 002 - Enemy 2
Event 003 - Enemy 3
Event 004 - Enemy 4


Enemy Pool 2:
Event 005 - Enemy 1
Event 006 - Enemy 2
Event 007 - Enemy 3
Event 008 - Enemy 4

Map 1 spawn random number between 5 and 7 events from pool 1 in region 1 on map 1.
Map 2 spawn random number between 5 and 7 events from pool 2 in region 1 on map 2.



Region 1 is also being used to as the passthrough region that allows players to walk on my parallax map so it would be ideal to have enemies spawn only where the player can walk but I'm not sure if trying to use it for both would create an issue.

[EDIT] I was pointed in the direction of Galv's Event Spawner but I've read through all of the help and comments on that plugin and set it up exactly like in the demo but I can't get it to spawn at all. I have attached screenshots to show that the Spawn Map is map 10, Spawn Map ID is set to 10 on the plugin and a screenshot of the Event on the map where the enemies should spawn. But nothing does.
basically conrtol variables to get a randim number, and then either conditional branch to decide on which troop to fight, or directly choosing troop ID by battleprocessing if you make the pools have consecutive troop IDs (like crontaol vriable random 5-8 and then using that variable in battle processing to get troop ID 5-8)
basically conrtol variables to get a randim number, and then either conditional branch to decide on which troop to fight, or directly choosing troop ID by battleprocessing if you make the pools have consecutive troop IDs (like crontaol vriable random 5-8 and then using that variable in battle processing to get troop ID 5-8)
Thanks for the insight, I might be misunderstanding but it seems like this would only randomly choose which troop is pulled in an encounter. I am looking to randomly generate enemies on the map as events. In the attached screenshot you can see right now I am manually placing the enemy events on the map. However I am looking for a way to have the engine pull them instead and place them around the map so that the player doesn't have the exact same enemies in the exact same places everytime a map is loaded. I hope that makes more sense.
it seems like this would only randomly choose which troop is pulled in an encounter.
yes and no - I gave two variants, and the first one could be used for on-map enemies while the second one only works for encounters without fitting map sprites.

you'll have to check the random variable with conditional branches for that, and each different numbers then give a pair of commands to change the event picture to the selected enemy as well as preparing the correct battleprocessing for that troop.

if you have a lot of enemies, it would help to use plugins for self-variables to make the events contain their own variables instead of using general variables (who would have to be reserved for the maximum number of enemies on a map, which is a problem without self-variables)

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-randomly-generated-event-enemies.133706/