How to change event dialogue based on party lead?

For context, the game I'm working starts off with a character select screen - the idea is choosing which of the four main characters you're experiencing the story from the POV of. Everything will be the same regardless of character chosen, except for dialogue - each has a unique personality and perception of the world.

I've got the character select working fine - no problems there - the issue I run into is making it so that starting a new game, and choosing a different "party lead" can interact with the same object and get a completely different text box. It's either not working at all and makes the event into an error, or it sticks with one character no matter what and shows the same text regardless of party lead. I've tried a lot of approaches, but I'm running out of ideas. How can I pull this off?
You can do it by name or actorId (or even other properties like the nickname)

$gameParty.leader()._name=="Ash"
or
$gameParty.leader()._actorId==1

1713301173860.png
Well.... this has to be the most complicated way to do it, but this is how I do it...
Make multiple parties, like make a character where THIS GUY is the leader, and THIS GIRL is the follower.
BUT then, make a copy of those characters that you are given (In character selection screen) THIS GIRL as the leader and THIS GUY is the follower. (4 characters, or 16 if 4 party members)
THEN just use condition branches from there,
◆If:Chris 2 is in the party
◆Text:None, None, Window, Bottom
: :HI Chris!
◆
:End
◆If:Nate is in the party
◆Text:None, None, Window, Bottom
: :HI Nate!!!!
◆
:End

Now obviously don't call him CHRIS 2 just call him CHRIS but remember the order.
(Remember!!!! 2 Nate's and 2 Chris's!!!)
(You can just do an IF OR ELSE branch, whatever is easiest.)
THEN just use condition branches from there,
◆If:Chris 2 is in the party
◆Text:None, None, Window, Bottom
: :HI Chris!
◆
:End
◆If:Nate is in the party
◆Text:None, None, Window, Bottom
: :HI Nate!!!!
◆
:End
That would check if those actors are in the party, not if they're the leader.
That would check if those actors are in the party, not if they're the leader.
Well.... I understand that, but in the character selection screen you would select your leader, (SHOW CHOICES) and then you wouldn't let them change formation in the menu. That's what I did in a previous game. ( I did tho add an event in your house where you could change it)

I know..... it has to be the most inefficient way to do it but that's how I do it.... because of course you would have to find a way to keep expierence, levels, weapons, I deleted that game but I think I used variables and stuff....
The other thing you can do is turn on a switch when you select the party leader and either have conditionals or different event pages checking if that switch is on
Event command > control variable > set variable to party member one's actor ID. Or you can do it with the above script calls.
You can do it by name or actorId (or even other properties like the nickname)

$gameParty.leader()._name=="Ash"
or
$gameParty.leader()._actorId==1

View attachment 302109
Thank you so much! I was making it way more complicated on myself than I needed to - but the scripts ended up working out for me. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-event-dialogue-based-on-party-lead.167802/