Move NPC to a new map

Hey guys once again I'm stuck -.-


so whats happening is that I have a NPC outside for a quest but he appears in his room when I read the letter and he stays there to make sure I don't come back in his room. So what I need to do is make his bedroom door locked until I complete the quest with him outside and the door to unlock once I have completed the quest. 


I know it sounds very complicated (at least I think so)


So if you guys know how I can se this up please let me know what I can do.

door event 2.jpg

NPC event 4.jpg

NPC event page 2.jpg

NPC event page 3.jpg

door event 1.jpg
I didn't understand clearly what you want, but:


You enter in the room


There is the event with the letter and your brother


You go out of the room with your brother


You have to finish the quest outside before being able to go again in the room.


Set a switch for QuestWithBrotherON (or something like this)


and on the first page of the door event, make the actor trasnfert event (a normal door)


On the second pahe of the door event, use the switch "QuestWithBrotherON" as a condition, and put a text like "this door is closed"


This way, If the switch "QuestWithBrotherON" is ON, the dor will be closed. If not, the door will be open.


Edit : When an event is running, it checks all the pages one by one, starting by the right. At the first page where the conditions are verified, the checking stops and it's this page which will be played. This checking occurs every time you run this event.
you can't really "move" an NPC to a new map. An NPC in RM is not an instance of a character but simply an event displaying a graphic. You would need to create an event with your NPC graphic for each map he should appear on, and use switches and event pages to "trigger" what happens with npc
I didn't understand clearly what you want, but:


You enter in the room


There is the event with the letter and your brother


You go out of the room with your brother


You have to finish the quest outside before being able to go again in the room.


Set a switch for QuestWithBrotherON (or something like this)


and on the first page of the door event, make the actor trasnfert event (a normal door)


On the second pahe of the door event, use the switch "QuestWithBrotherON" as a condition, and put a text like "this door is closed"


This way, If the switch "QuestWithBrotherON" is ON, the dor will be closed. If not, the door will be open.


Edit : When an event is running, it checks all the pages one by one, starting by the right. At the first page where the conditions are verified, the checking stops and it's this page which will be played. This checking occurs every time you run this event.





basically when you start, there's a mission with your brother outside. I want to make it that you have to complete that mission before you can enter his room for the scenario with him walking in when you are reading the letter. So what I want to do is make his door locked until the mission with him outside is complete. Then once you have completed the mission and do the scenario in his room, he will be blocking his door so you can't go back in, but since he is standing there he can't be outside as well so I need to be able to basically remove the 1 outside when the 1 blocking the door to his room is inside  


so basically what I need is:


1) how to make his room door locked until the quest outside is complete


2) make him disappear outside once he is blocking his room door (basically move him from outside to inside)
you can't really "move" an NPC to a new map. An NPC in RM is not an instance of a character but simply an event displaying a graphic. You would need to create an event with your NPC graphic for each map he should appear on, and use switches and event pages to "trigger" what happens with npc



I just think there would be a way for that event outside with him to disappear once the event of him blocking the door activates.
It's basic eventing with conditions. I suggest you to read and watch eventing tutorials, It can help you a lot, because if you cannot do this by yourself, you will have a lot of other problems while eventing. 
It's basic eventing with conditions. I suggest you to read and watch eventing tutorials, It can help you a lot, because if you cannot do this by yourself, you will have a lot of other problems while eventing. 



I've watched tutorials on eventing, conditional branches, switches and variations but I just can't see how to set up these 2 events within the other events.
It's basic eventing with conditions. I suggest you to read and watch eventing tutorials, It can help you a lot, because if you cannot do this by yourself, you will have a lot of other problems while eventing. 





I just figured both of them out except for 1 problem -.- the 1 outside only disappears once I use the action button on him no matter what trigger I have on
when the event of him blocking the door activates, it should also activate a switch like "door event activated".


then on the event outside with him, create a new blank event page (no graphics) with condition switch "door event activated" is on.
when the event of him blocking the door activates, it should also activate a switch like "door event activated".


then on the event outside with him, create a new blank event page (no graphics) with condition switch "door event activated" is on.



I'm not sure where to put it cause after you complete the quest and you click on him again he will say "It sure is a nice day today, isn't 
it brother?", but as soon as the event of him blocking the door activates I want the 1 outside to disappear.
I'm getting confused by what you actually want... What is exactly the sequence of events and where is who in that scene?


by the way, mods will probably end up telling you this so friendly advice: No need to quote whole posts. Either snip the relevant bits, or use @membername to explain who you reply to.
DJLucipurr, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


I realize you need help, but please edit your previous posts if you have anything new to add, so you don't clutter up your own thread.


You seem to be thinking needlessly complicated, when in reality this is very, very simple, with the simple use of a switch.


You want the brother outside to 'disappear' when he's supposed to be blocking the door inside his room, correct? And have the door locked until the quest is complete. These require a switch.


First, to check to see if you have completed the brother's quest for finding a broom, add a conditional branch check to see if the player has the broom in the inventory, if true, turn on a switch ("BroomComplete"?). This is the first event page, with the trigger set to action button. So far so good. Create a new event page, set its condition to a different switch ("BrotherBlock"?), and keep the rest of the event blank, including the graphic.


In the door event, keep the first event page blank, with just the door graphic, and with the text 'the door is locked' or something. Second event page, set its condition to the switch "BroomComplete", and have the door event work as normal by transferring the player to the bedroom.


The brother event inside the bedroom map, once whatever cutscene has transpired and you're finished, turn on the switch "BrotherBlock". This will make the brother outside disappear, because the event page with the switch BrotherBlock has been turned on, which we kept blank, so we made him disappear.


Hope you understood how switches work now.
I may be a little unclear with what you're still looking for, but on the lefthand side of the event page is conditions for the NPC's appearance. Have the switch turn on, and then set that as a switch condition for the event to trigger, if that makes sense. Make sure that each page of the event stays consistent to the type of event. If it's an autorun event that is multiple pages, it needs to be autorun on all of those pages.
I got it guys thanks ^-^

Original thread: https://forums.rpgmakerweb.com/threads/move-npc-to-a-new-map.71955/