I have a problem about yanfly party system (Very new to RPG maker mv forums)

im making a game for my friends and I and whenever i activate the add member event it changes the party leader to the newest member, I want to lock my party leader so no one can change it in the formation menu too

im not very good at scripting plugins so i might need someone to type it
There's no scripting needed. In the plugin's instructions, it's one of the provided plugin commands: LockActor
There's no scripting needed. In the plugin's instructions, it's one of the provided plugin commands: LockActor
i may need some explanations on how to use these commands or notes
Plugin Command is one of the basic event commands (bottom of the third tab, I think).

Any time after the game starts and that party leader has been added, you would run an event with the command to lock the actor.
Plugin Command is one of the basic event commands (bottom of the third tab, I think).

Any time after the game starts and that party leader has been added, you would run an event with the command to lock the actor.
does the actor number (like Lockactor 1) means to lock the party leader actor or does it mean lock actor number 0001
The actor ID, but you never use leading zeros (even though that's how it's listed in the database).
I locked the actor however when a member joins the party it immediately replaces the leader
It sounds like you're doing something wrong.

Post some screenshots of the events where you're adding characters - adding an actor does not replace another actor, neither in default MV nor with the Party System.
1689624227718.png
1689624249395.png
You need to check your Yanfly plugins. If they're not the order listed on the Yanfly Engine Web site, random weird things can happen (and I see at least a couple out of order).

You also have a lot of stuff in there...are you actually using and switching between three different battle systems? You don't want to have potentially conflicting plugins in your list.

There's also weird stuff in your event. Why do you have Erase Event in the middle of your event? That will make your event not work correctly.

Why do you have UnlockActor 1 in there?

I suggest you turn off all of your plugins, save, start a new game, test the event. If it still doesn't work, post the entire event here. (select all, right-click, copy as text, then post here inside CODE tags - the </> symbol)

If it does work, then it was a plugin problem and you need to troubleshoot their current version, order, and turning them back on one at a time to figure out the problem.
hmm do you have any recommendations for other party formation plugins
i have alot of actors and i want to be able to switch them out within a menu
That is not a good idea.

There is nothing wrong with Yanfly's Party System - it works perfectly for me and many other users.

You need to make sure you have your plugins configured correctly, and that doesn't matter which plugin you use.

You also have errors in just the event that have nothing to do with plugins.
thanks for the tips ill see what i can do
I'd advise going over some basic eventing tutorials just to make sure you have usage of common event commands down.

It would also be wise to make sure you read through the help files of your plugins very carefully. I can't tell you how often people miss important bits of info by accident. Even I've done it once or twice.

Original thread: https://forums.rpgmakerweb.com/threads/i-have-a-problem-about-yanfly-party-system-very-new-to-rpg-maker-mv-forums.159423/