Having your party members follow MC *SOLVED*

Hey there, I am really new to RPGMZ but have completed the tutorials and watched multiple youtube videos but i can't seem to find the step I am missing.

I have created an NPC and have added them to the party successfully but they do not follow the player. I know if they are part of the starting party they follow automatically but i wanted to pick up a party member along the way and see them following the player.

What am I missing in order to see them follow? Also as this is my first post, if I should have posted more info/ screenshots let me know and I can!

Thanks!
Welcome!

I could be misunderstanding what you are trying to do, but it sounds like you want to engage with an Event (NPC) on the map and then have the NPC join your party.

To do that, you would have to create a new Actor in the Database and set them up as you want them in the Database. Then, when you interact with the Event on the map with that Actor image, you Change Party Members in the Event Command and add that Actor to your party. Then that NPC will appear in your party and follow the MC around.

For the Event on the map, as soon as the NPC joins your party, you would advance the Event to a new page with a Self Switch and the new page would have that Self Switch as a page condition. The new page would be blank with no image so the Event NPC disappears from the map.

You could also work out a way that allows you to kick out the NPC from your party and it returns to the map.

I hope that helps and makes sense. If I misunderstood what you are trying to do or if you need a better explanation, please let us know.

Thanks!
it sounds like you want to engage with an Event (NPC) on the map and then have the NPC join your party.
All of your advice is good, but I think this is incorrect. The OP said:
I have created an NPC and have added them to the party successfully

@Falloutguy - by default, the game only shows the first four party members on the map. If you have more than 4 actors in your party, they won't show as followers.

You can either use the Formation command in the menu to change who is in front, or manipulate it with event commands/script calls.

Or you can use a little plugin to show more followers.

If you let us know more precisely what you're going for, we can help - do you want to show an infinite number of followers, depending on how many actors are in the party? Or do you want to show the first 4 plus one specific other?
Thanks @ATT_Turan ! I completely read right over that in my enthusiasm for thinking that I actually might be able to help with a post! 😉

Oh, well. Best of intentions! I'm glad you made the correction!
if i'm correct set them up in the database than during an event change party > add party > *choose npc*
Ok thank you all for your advice, I have now successfully added the character to my party but they are not following the MC around. I have set them up in the data base but when the action is complete, their sprite (correctly) disappears but does not follow my MC. Below is a screenshot of the action

**Update I added the character Rupi to the starting party to see if I could stop her following and when i reloaded the game back to the below the character follows? I changed nothing as the returning of the character is on event page two. One thing is the character (dog) is now following 4 squares behind the player at all times?
Capture.PNG
Capture2.PNG
Capture3.PNG
There has to be something wrong in your project. Either you have a plugin that's somehow messing with this, or you haven't given the Rupi actor in your database a character image, or something.

In the System 1 tab of your database, you should only have one line you can click on underneath your starting character.
Screenshot 2023-04-13 111609.png

If you have more than one selectable line, that means you edited/deleted actors in the database but didn't remove them from this list. Having "empty" actors in your party could account for the weird spacing and such.

If you do have extra lines there, select them and hit Delete until you only have the one line left.

Are you, in fact, using any plugins? Your first post said you were brand new, so I think we assumed you hadn't changed how your game works.

Your event as you wrote it works perfectly in my test MZ project.
There has to be something wrong in your project. Either you have a plugin that's somehow messing with this, or you haven't given the Rupi actor in your database a character image, or something.

In the System 1 tab of your database, you should only have one line you can click on underneath your starting character.
View attachment 258854

If you have more than one selectable line, that means you edited/deleted actors in the database but didn't remove them from this list. Having "empty" actors in your party could account for the weird spacing and such.

If you do have extra lines there, select them and hit Delete until you only have the one line left.

Are you, in fact, using any plugins? Your first post said you were brand new, so I think we assumed you hadn't changed how your game works.

Your event as you wrote it works perfectly in my test MZ project.
That was exactly it! I don't have any plugin active but when I deleted the sample party it left those blue boxes, once removed it worked perfectly! Thank you so much for your help!

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/having-your-party-members-follow-mc-solved.156611/