Random Battle Event

I want to have it when the player steps on event in a room to have a random battle occur. There are no encounter setup in the room.  how would I make the random encounter event happen
Use the Battle Processing event command (tab 3). This is an evented battle, not a random battle, because you want it to happen at a specific time/place.
how would I make it so a different enemy troop would appear each time the player steps on event.
how would I make it so a different enemy troop would appear each time the player steps on event.
Use a variable.

Name a variable something like "Random Enemy Chance"

Set the variable to be a random number from 1-X.

X being how many different options you'd like.

Then create a conditional branch and set the numbers.

Change the battle processing for each conditional branch from 1-X.

Set if they can escape/lose as well.

Here's a picture example of how the event should look:

Spoiler
NvGStTd.png
works great. Thanks Silenity

 

Original thread: https://forums.rpgmakerweb.com/threads/random-battle-event.55004/