Mobile Event triggering another event. Possible?

Hello again folks,
So my quest to learn RPG Maker progresses by the day but every now and then comes a boss(problem) that I am not prepared for. This is one of them and thus I'm here for guidance. So, here is the situation:

I need an NPC to move through a door and then lock the door up and then continue down a moment path. The requirement is that the player can see the NPC outside the door, open it and then come inside as this is an indoor map. The only idea that came to mind was putting 1 event before the door and 1 event after with two different switches that open and then close the door with the npc triggering both the switches. But... is that even possible? I mean, player triggering events is something I've done plenty. But an event triggering an event... can it be done?

I'm sorry if this sounded complicated or if there is a better way of achieving this. I'm more than happy to learn anything you good folks decide to offer. Thanks in advance.

Regards,
LonerPrime
There's no NPC triggering anything, you need to make a small cutscene, which is coordinated by a single event.
In this case, this one event (the one with NPC graphics) does all this:
talking to the NPC triggers the whole cutscene
they walk to the door using a move route
the door opens (using a move route again)
the NPC changes graphics to none (you can use move route for this as well)
the door closes
a switch NPC_inside or whatever it is called is set ON

The cutscene on this map ends here. Then the player walks inside (transfer event).
Inside the house, you need another event with the NPC's graphics which appears only if the switch NPC_inside is ON. They can do whatever needed there.

Hope this is at least a bit helpful, if you have a problem with anything, I can try to help.
Thank you for the reply. Allow me to clear up some requirements

A) Player cannot talk to NPC as the player is hiding and avoiding detection.
😎 As I mentioned, it's an indoor map. The NPC is pretty much moving from one room to another. In no way can the player lose eyes on it.

I hope these 2 help clear the situation I am trying to pull off. Thank you again in advance.
Alright, so if I understand correctly, the player can move around and is tailing the NPC, they walk inside a house and see the NPC inside.
In that case, I'd do:
Spoiler
Screenshot (208).png
(after setting the switch you probably want to close the door, meaning move event→turn up→right→left→down)
The coordinates 30, 6 are the event in front of the door. If the NPC is there, it opens the door and so on. The NPC event outside has a black page when NPC_inside is ON:
Spoiler
NPC outside.png
In the inside map, there is another event, NPC which has a page with the NPC's graphic when NPC_inside is ON:
Spoiler
NPC inside.png
Thank you mishakoc. That didn't exactly solve my predicament but it gave me a good idea about how to tackle it. I managed to pull it off now. Thank you 🙂

Dear Mods: Problem solved. Feel free to lock the thread.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/mobile-event-triggering-another-event-possible.112084/