Erase Action Button Trigger Event when switch turned on?

I have an event that I want to erase once a switch is turned on. The part I haven't been able to work around is that the event trigger is set to Action Button. Reason being is that the event is a character that says text when the player presses a button but once a switch is turned on I want to erase that event(Remove that character from that location). Are there any commands that I can input in a separate autorun event that would erase the Action Button Trigger event?

Essentially all my NPCs are Action Button Trigger events and I would like to remove them all after an event occurs.
Multiple event pages

Have the event page with the highest number be conditioned to that switch, and don't assign a sprite or content to it.
Multiple event pages

Have the event page with the highest number be conditioned to that switch, and don't assign a sprite or content to it.

I think I've got that setup but the issue I'm having now is once the event switch is ON, all the NPCs that are set to Action Button Trigger won't recognize the event Switch conditioned until the Main character physically walks up to it and presses the button.
They'll disappear after but I want them gone once the event is switched ON.
Then you did something wrong.
Please post screenshots of your event pages, then we can help with details.
I assumed that was the case lol. I'll post more detailed information when I get home.
I put together a test example. Below are the pics of my dilemma.

Pic1.jpg Pic2.jpg Pic3.jpg Pic4.jpg Pic5.jpg Pic6.jpg Pic7.jpg
thats because when you flip the second switch it doesnt affect the NPC self switch. Just replace self switch condition with switch "NPC Disappear" one in NPC settings and leave first page blank

(though i'm pretty sure you solved your problem by yourself in a month so I'm really late with advice...)

Original thread: https://forums.rpgmakerweb.com/threads/erase-action-button-trigger-event-when-switch-turned-on.84112/