How to make a cutscene happen only at a certain point?

Hello, i am still developing my very first game. I am still an amateur and some issues i've come up with i had to solve all by myself given that, strangely, i can't find some tutorials on things that are as basic as cutscenes. Hopefully someone who is experienced enough could lend me a hand. I'll try to explain what i want to achieve as thoroughly as possible:

Here, the player is supposed to walk to the castle, still on the way. Let's call this part of the map "the way to the castle".
1727814606228.png


Later, after arriving at said castle, he speaks with the people inside in a cutscene and a character joins the party. Later, both the new character and the player are supposed to share a conversation after returning to the way of the castle, the same one shown at the picture above.

However, this second cutscene (the one AFTER leaving the castle) attempts to play as soon as the player arrives at the way to the castle for the very first time, so if you start a new game you'd get stuck. I know this sounds a little stupid, and it's because it kind of is, and for that i apologize. However i can't find a solution to something this simple.

If it helps, the cutscene that happens inside the castle has a control switch. It turns on as soon as it starts, then turns off at the end, followed by a self switch A ON, and then a new event page with the self switch condition box checked for it. Here are some pictures to hopefully help a little more:
1727815387022.png

1727815403606.png

I apologize that the text is in portuguese, but the game i'm making is for my native language speakers, but even so the engine itself is in english.

1727815463877.png

Here, what i attempted to make is, to only allow this 'EV004' event cutscene happen only after the castle cutscene 'EV023' one is done. The EV004 does play correctly, but it's only because i managed to get in the castle in the first place where this cutscene didn't exist to stop me midway. As stated before, if creating a new game, i'm forever trapped in a cutscene where the player tries to move against the wall and gets stuck.

If someone helps, i'd be really happy!!!!
this second cutscene (the one AFTER leaving the castle) attempts to play as soon as the player arrives at the way to the castle for the very first time
what are the conditions of that autorun event then? you showed us your map, but the events are also important and you havent shown those . is it set to a switch or to having that actor in the party?

EDIT: reloaded and saw the edit. you still have to give the autorun event a condition. if it should be triggered only if the actor is in the party, then give a condition so that it can only activate after the player gets them and not before. you already turn a switch off within the event, so you can use that one as the condition
what are the conditions of that autorun event then? you showed us your map, but the events are also important and you havent shown those . is it set to a switch or to having that actor in the party?

EDIT: reloaded and saw the edit. you still have to give the autorun event a condition. if it should be triggered only if the actor is in the party, then give a condition so that it can only activate after the player gets them and not before. you already turn a switch off within the event, so you can use that one as the condition
Yes, apologies for the edit thing, it's just that i accidentally posted the thread prematurely.

I've taken your suggestion into consideration, and probably it wouldn't be the best option, given that i want more cutscenes to happen only at certain, specific points, regardless if an actor joined the party or not. So in that case, the condition should be wether on not a previous cutscene happened yet.

In that case, the condition i aimed to be set is the castle cutscene switch.
1727816669620.png

However the problem still persists. It appears i have made a mistake, and i apologize again. I even tried to create an 'Else branch' and nothing changes.
Your conditions on the left are blank, so this Autorun will play as soon as you enter the map.
Seems you set it as a Conditional Branch. But this way, the event will check eternally, that's why you're stuck.

Set a Switch in the Conditons instead, and set this Switch to ON as soon as you want to unlock this cutscene (e.g. during the event that adds the character to your party).
the condition should be wether on not a previous cutscene happened yet.
you can make those events turn switches on to mark their completion and use those as your conditions. but if the only way to get the actor is to go through said cutscene, then having the actor is proof enough of having done the cutscene, no? in either case...
However the problem still persists
you didnt set the event condition. im talking about these
1727817690506.png

those determine when the event page is active
I think I understand, but I'm not completely sure. I'll try to explain it, and you can tell me if I got it right.

The player moves autonomously inside the castle. A conversation begins, and a second character joins the party. They exit, and then a cutscene should start where both characters follow a fixed path.

If what I wrote is correct, you don't actually need to disable anything, but rather activate the switch. In the first map, we have an autorun event for the path scene. This event will be triggered by the "Path after the castle" switch. Once inside the castle, you’ll need to activate the switch so the autorun starts after the castle scene. Be careful where you place the switch, its exact position is in the left window of the event
Your conditions on the left are blank, so this Autorun will play as soon as you enter the map.
Seems you set it as a Conditional Branch. But this way, the event will check eternally, that's why you're stuck.

Set a Switch in the Conditons instead, and set this Switch to ON as soon as you want to unlock this cutscene (e.g. during the event that adds the character to your party).
I've read both replies! And now i've come up with a solution! Many thanks, your help will be gladly credited at the end of the game!!! I know this is something small, but even so, i'm so happy.

Basically, all i had to do was, instead of turning the castle cutscene switch OFF at the end, i had to turn it ON. Because the conditions tab at the events only accepts ON switchs.

Just as simple as that, and now both cutscenes are allowed to play accordingly! Thank you so much for your help, you all, i really appreciate it!! I will not forget you when i finish this!!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-cutscene-happen-only-at-a-certain-point.172292/