Stop dissapearing NPC event after removed from party!

Hey guys, I'm new to RPG Maker MV & I'm having troubles stopping the NPC from disappearing once you have removed them from your party.

I have set it up so when you speak to the NPC they join your party. Then when you talk to another NPC they are removed from the party. & Speaking to them again will get the first NPC back into your party. The problem is that the NPC disappears once they are removed.

I want to have them continue walking around the room at random like they were previously before I had them added to my party.

this is the tutorial that i have followed & all others on the subject have the same result!

please help, sorry 4 being a n00b
I didn't try this before, but you make an switch event after the remove party member. That switch event should have the image of the party member you are removing.
Ok that works to change the second NPC to the first NPC. The second NPC is the switch to remove the first NPC from the party. That still means we're missing an NPC!
Show us your events - if they have multiple pages, then show both/all pages. Please include the whole event window - don't just crop it to the commands.
this is now going off what the other guy suggested
There are a lot of options. A good simple one might be to use a conditional branch on each NPC.

IF Nasma is in your party, have the option to remove her.
ELSE Have the option to add her. (Also remove other NPCs at this time if necessary)
On the event titled "Nasma Joins Party" instead of using a self switch, on page 2, you can just use the Actor in party option:
1598362761393.png


That way when she is removed, it will go back to page 1, and she'll be walking around again.

That being said, I suggest you watch some more tutorials about using global switches and learning how they function. I'll try to find the link to the beginner's guide.

Edit: Here you go:
https://forums.rpgmakerweb.com/index.php?threads/a-starting-point-for-new-users-v1-2.14727/
boikish, you have solved my problem! thank you so much. it all loops perfectly. i couldn't find this direct info anywhere else. you are a legend!
Happy to be able to help. 🙂 Good luck!

Original thread: https://forums.rpgmakerweb.com/threads/stop-dissapearing-npc-event-after-removed-from-party.126034/