How do I make multiple actors disappear after a battle?

So, there's four people standing outside a house, and when you speak to one of them, you trigger a battle. Now what I want to do is after the battle's finish, the actors disappear, never to be seen again. How do I do that?
Do "Erase Event" after the battle, oh you might need to make a new page with the trigger.
No. Erase Event will only work until you go back to that map. Then they'll be there again.


On your troop events, add a page that runs at the start of the battle and turns on a switch. On your 4 NPC events (these are NOT actors - actors are the people in your party, not events standing around), add a last page that uses that switch as a condition. Don't do anything else on those pages.


After the battle is finished, the NPCs will be gone.
Edit: Use switches, or variables.. I use variables.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-multiple-actors-disappear-after-a-battle.37154/