MV How to keep a character's name active?

Hi!

At the start of the game I'm making, a character appears (his original hero name is “???”) and the player is invited to give the character a new name.

It's only later in the game that the “???” character returns and becomes part of the playable character's team.

My problem is that the name the player chooses disappears as soon as the character leaves (so, for example, if the player has decided to change the name “???” to “Frank”, the character will only be called “Frank” during the dialogue, but the next time the ‘Frank’ NPC appears, he'll be called “???” again.

I've already tried to keep the character “???” in the team throughout the game and simply give him an invisible sprite when “???” isn't supposed to be in the team, but his name always reverts to “???” even though “Frank” never left the team.

How can we make sure that “???” becomes ‘Frank’ and remains “Frank” until the end of the game?
If you check 'initialize' when adding the party member, the name will revert. Are you sure you didn't leave in the game that add command with initialize when you tried testing it by keeping the member in your party?
if it stays in the team, how exactly did you set this up as it isn't default?
another way is to set the name into a variable, and change the variable name,
so it always persist.

as rpgLord69 said can be one cause of the problem if you don't use plugins
or not much that alter its ways.
If you check 'initialize' when adding the party member, the name will revert. Are you sure you didn't leave in the game that add command with initialize when you tried testing it by keeping the member in your party?
Well thanks a lot, that was precisely the issue.
When I read your comment I thought : I'm not stupid, of course I unckecked the "initialize" box.
But I was, in fact, stupid and forgot to uncheck it at some point in the game's events hehe.
just in case you DO need to initilize your actors,
you can use the variable still to set the actor name.

even if its a fail-safe to have it name correctly if required or
rename any character in that matter 😉

Original thread: https://forums.rpgmakerweb.com/threads/how-to-keep-a-characters-name-active.177778/