Ncp moving in and then out.

Hey. This is probably a stupid question but, the more I try to look up answers and try them. The more my cutscenes gets screwed up. So. I have my player talking to someone and I want a ncp to walk in and say that the town is being attacked. I have tried to use switches and other things. But it just won't work. I found that it is actually making the game mess up more! I want the ncp to walk in the room and then talk. Then run out the door. Then after that. The other ncp runs out the door. And I found that the place I want to have the ncp start is already taken by a transfer event to take the character outside. Ugh. This is confusing. Please help! I am sorry if there is a tutorial. I've been searching all day for it. And when I think I have the answer. It just screws it up more.
You can use move routes to control another event from the current event...
Have ONE event that does all your cutscene processing. Other events are just placeholders for images, but don't have any event commands of their own. This way, you don't need to use switches, or autorun/parallel processes on multiple events, which is the #1 reason why a lot of people get their cutscenes messed up.

For your NPC who comes and goes, place an EMPTY event.

In your event that controls the cutscene, when you want them to appear, do this:

Code:
Set Event Location (NPC Event) - move it to where you want it to appearSet Move Route (NPC Event) (Wait for Completion): Through On: Change Graphic (select the NPC graphic): Movement commands to make them stand where you want them to be when they start talkingShow Text (for NPC): The town is being attacked!Set Move Route (NPC Event) (Wait for Completion): Movement commands to make them go to the door: Change Graphic (select None): Through OffSet Event Location (NPC Event) - move it right out the way so no other events will run into itSet Move Route (other NPC Event) (Wait for Completion): Movement commands to make them to go the doorTurn on switchSet Event Location (other NPC event) - move it out of the way as well
On your "other" NPC event (I assume they're already inside when you go in, and you don't want them to be there again after the cutscene), add an extra page with no graphic, no events, and leave the Action Button trigger. Condition that page by the switch you just turned on at the end of the move route.

Original thread: https://forums.rpgmakerweb.com/threads/ncp-moving-in-and-then-out.16494/