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?
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?