How to make events disappear after cutscenes?

I made a few cutscenes that, so far, are good enough. I have only one small little problem that, upon looking up, only found one person who shared the same issue, in which the solution only works in rpg maker MV.

There are events that will disappear once the cutscene is over, however, upon entering the same location where the cutscene originally happened, the event appears again. In this case, the event is a character that i want to vanish for good once the cutscene is over.

Here is the start and end of the cutscene.
1727826191690.png

1727826218758.png


Now, i'll elaborate on two things: Upon research, it's always taught to turn the cutscene switch OFF near the end, however i can't do that, because the following cutscene after this one requires the switch to stay ON (to meet a condition where the only possible option is if the switch is ON), or else the player will get stuck on an earlier path on the map, where another cutscene that is only supposed to happen in a certain future is attempting to play, softlocking the game.

On the same thread i've read with the person that had the same problem as mine, folks often told them to replace the self switch with a control switch, and instead of marking the second event page with the self switch, to mark the regular switch box with the cutscene switch. I tried this and it only resulted in the cutscene endlessly repeating itself until it softlocked the game.

I feel like this is something so simple, yet again, all problems i come up with are simple but barely have any answers when looking it up. So i am sorry to bother you, i am a begginer, but barely any tutorials i find teach properly how to use the engine.
Just use a second switch like "Cutscene XY over", that will turn ON, as soon as the cutscene ends. Create a new, empty Event Page, and set this switch as it's condition (make sure it's not Autorun).

The event pages are processed from highest to lowest - the first condition, that returns True will be used, all other will be ignored.

In many cases you should use several Switches to keep all your states saved individually.
only found one person who shared the same issue, in which the solution only works in rpg maker MV.
Impossible, events in MV and MZ function identically.

Here is the start and end of the cutscene.
But what's on the entire second page? You never show us.

Now, i'll elaborate on two things: Upon research, it's always taught to turn the cutscene switch OFF near the end
I'd be interested to see where you saw that, because - while it can be one way to do it - it is never what I see anyone suggest.

On the same thread i've read with the person that had the same problem as mine, folks often told them to replace the self switch with a control switch, and instead of marking the second event page with the self switch, to mark the regular switch box with the cutscene switch.
Then you didn't do it correctly.

Both your cutscene event and your Thomas event should have a second page that look identical:

1727828039257.png


That's it. You turn on your Cutscene Done switch and both events are gone.

You can also use a variable as a condition, if you're using a variable to track your progress through the game (e.g. Story Progress of 4 means I've gotten past the first dragon...)


barely any tutorials i find teach properly how to use the engine.
1727827664029.png


1727827710454.png


1727827727790.png


1727827844156.png



And any tutorials for MV will work just as well.


1727827764321.png


1727827793931.png


As far as cutscenes:

1727827874202.png



I think you’re not quite clear on how to use switches. In your code, I see self switches that don’t seem to point to any page.

Switches: They only work with two values, On and Off (true and false). Switches can be local (self switches) or global (regular switches).

A self switch is used to move from one page to another in your event. Nothing outside that specific event page will be affected by the self switch. For it to work correctly, the target page must have the "self switch" box checked.

On the other hand, a global switch affects the entire game. It can be triggered by one event but may impact one or more separate events.

To simplify various activation checks, the "Conditions" section is used, which basically says:
"If this switch is On, activate the page, otherwise do nothing."
The same goes for variables.
Impossible, events in MV and MZ function identically.
I see, but even so, the solution i tried to replicate (use regular switches instead of self ones) led to my cutscene to repeat endlessly. That led me to assume that MV and MZ to have entirely different solutions for being different engines, and i apologize for assuming that.
But what's on the entire second page? You never show us.
Sorry. Here it is:
1727862882678.png

The reason i didn't show it is because there isn't anything. Looking up for tutorials of MZ teaches you to only mark the self switch condition A with nothing on the page itself.
I'd be interested to see where you saw that, because - while it can be one way to do it - it is never what I see anyone suggest.
Sure, here you go:

Then you didn't do it correctly.

Both your cutscene event and your Thomas event should have a second page that look identical:

View attachment 319284

That's it. You turn on your Cutscene Done switch and both events are gone.
Oh, i see! That's the first time i've heard anyone suggest a Cutscene Done switch. I just tried to execute your solution and it worked perfectly!
You can also use a variable as a condition, if you're using a variable to track your progress through the game (e.g. Story Progress of 4 means I've gotten past the first dragon...)



View attachment 319277

View attachment 319278

View attachment 319279

View attachment 319282


And any tutorials for MV will work just as well.
I will keep that in mind! And not to depend only on youtube to learn anything at all, and spare you guys some trouble...
View attachment 319280

View attachment 319281

As far as cutscenes:

View attachment 319283


You and everyone else here has been very thorough in correcting my mistakes, and for that i am very grateful! Thank you so much!!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-events-disappear-after-cutscenes.172298/