Random number of enemies

Hey,

i want in my game that when the player touches an enemie event, the fight starts but you don't know how many enemies are showing up.

I want to have it fully random but all plugins I found were more half random because they work by changing the dummy enemies and I would like to have it more random. Do you have an idea how I could do this or know a plugin that make it possible?

Thanks
Miauu
Make multiple different troops that have for example 1-5 random enemies in them. Roll a random variable between 0 -4 and then have a conditional for each number that starts the battle for each respective troop.
make a troop with the maximum number of possible enemies.

then right-click some of them and select "appear halfway" to get them down to the minimum number of enemies.

Third step is a troop event conditioned to turn 0 and span= battle that contains a randomizer (control variable) followed by conditional branches to appear one or more of the enemies to get to the number you want.

Turn 0 is executed before the battle starts so the number will change after the battlescreen is initiated but before the fight.
make a troop with the maximum number of possible enemies.

then right-click some of them and select "appear halfway" to get them down to the minimum number of enemies.

Third step is a troop event conditioned to turn 0 and span= battle that contains a randomizer (control variable) followed by conditional branches to appear one or more of the enemies to get to the number you want.

Turn 0 is executed before the battle starts so the number will change after the battlescreen is initiated but before the fight.

Thank you! Thats working great 😀

Original thread: https://forums.rpgmakerweb.com/threads/random-number-of-enemies.176651/