Erase an Action Button Trigger Event NPC

Hello,

I have an NPC that the player can speak with early into the map, but after a condition is met I would like them to dissapear (during a screen fade). Because the NPC is set to trigger from an action button, I am having trouble finding ways for the game to autorun an event to remove the NPC. I have tried conditionals that use self switches to direct to another event page where it will autorun, or an outside autorun event to entirely move the NPC.

The event looks like this now to give an idea:

Text:

Hello

If event is on:

Erase event

And this kind of works, but the player has to speak with them to trigger the event erase because they are set as an action button trigger... 

I've tried other variations, but that's the gist of it.

If anyone has any idea that would be appreciated.
You don't use erase event for this - you switch the event to a page that has no sprite, no commands and is set to priority above player (on action trigger)
Thank you! I was able to get it working with that.

Original thread: https://forums.rpgmakerweb.com/threads/erase-an-action-button-trigger-event-npc.49239/