Problem interrupting and erasing an event

Hi,

I'm having problems with an event.

What I want to happen is this;

- player can talk to 4 different characters
- player can ask a maximum of 4 questions; once those 4 questions are reached the 4 characters disappear, and event processing ends so that the conversation doesn't continue

It's the last bit I can't get working - no matter what I try, the event page of the character the player is talking to continues once the 4 questions have been asked; it's only then that the events disappear

2 screenshots - 1st is the common event I'm trying (a separate parallel process didn't work, so I figured I'd just use a common event after each question has been asked for each of the 4 characters, based on a variable reaching 4), and the 2nd is the event page of the character the player is talking to (ignore the 'max' variable - that's for another rule that the player can only choose two characters to talk to, and that's working fine)

I've simplified it by making the variable 4 straight away in order to test it works. Which it doesn't. After the common event is called, it still shows the 'oh' text and then deletes the event.

Hope that all makes sense..

Thank you!
I've never seen someone try to do an erase event in a common event. I'm fairly confident that will do nothing.
The erase event goes in the event that you want to erase, plus erase event only erases the event until you leave the map. Then it comes back.

What you need to do is have a page where the variable is equal to 4 and the page has nothing else on it.
I've tried both of those (event page with variable, and exit event processing/erase event within the event) but I couldn't get either to break the event processing of the main event page..

The map is one-shot, so erase event won't cause any problems.

When I'm back from work and can try again I think I might just have to put a conditional branch before each question linking to an autorun self switch page that deletes the event

Original thread: https://forums.rpgmakerweb.com/threads/problem-interrupting-and-erasing-an-event.146528/