Naming woes (multiple names, 1 character)

So in many RPGs like say, Mass Effect, everyone calls you one name, no matter their relationship or affiliation with you.  To alleviate this issue in my game I set aside a chunk of about 10 actors for names and nouns to refer to the player depending on gender etc and let the player enter a few of them, most importantly their first and last names.

However, Actor 001 I always wanted to be the full first and last name of the character for use in save files and so forth.  Now, the in game system really doesn't give me a way to do this... all I am left with is either a script in the script library which would be over kill for one 'equation' or brute forcing it in a script call.  I have no idea how to do RGSS3 scripting, but I dumied up a line that doesn't work, but gets the idea I'm going for across.

a2 = $game_actors[2].name

a3 = $game_actors[3].name

$game_actors[1].name = (a2" "a3)

 

Any help would be appreciated
Try this:

(Assuming name is a writable attribute)

$game_actors[1].name = a2 + " " + a3
If that doesn't work, this will:

Code:
$game_actors[1].name = "#{a2} #{a3}"
Can you explain why you are setting up 10 actors when you only actually have one? I suspect you are trying to go about things in a more difficult way than is required. What is the purpose of the 10 actors, and why are you letting the player name them? When do you use the different actors (or names)?
Greetings Shaz.  The point of this is that this is an episodic, non combat RPG series.  It is going to rely a lot on choice and consequences.  one of those choices is actually weather the character is male or female which has multiple different names and a ton of consequences in game and with hoe people treat you.  So what I do during character creation is tie the appropriate name to the appropriate character in the list including nick names and then I am able to call a name easily in dialogue with /n[2] for example rather than using a chunk of conditional statements each time.  Basically I am using the first 10 actors to keep track of a crap ton of nicknames and other nouns for referring to the player and having them all easily referenced with simply in text commands.

Mainly, I am going to be having a ton of if-then statements already for routes, graphics, etc, I wanted to reduce the number of them I had to deal with in the script for events so I tied names and nouns to specific actors in the database instead.

I also drop in characters into the player's party from time to time and those character are all 11+ in the list

MagicMagor, thanks for the help, I will try it when I get home 😛
You can create a single character and use the Change Actor Name, Change Actor Graphic, and Change Actor Class commands (as well as many others) to customize them. Then you only have to refer to ONE character, and not worry about heaps of conditional branches depending on the choices.


Search through old posts - several people have started out with a similar plan, and have been able to simplify it to using a single character instead. I also provided a small script to a couple of them that would let you ignore the face box in messages and add an escape sequence to the message text itself, and it would show the portrait of the specified character.
I appreciate the effort Shaz, maybe I'm not quite picking up what you're saying.  I should probably explain the whole situation though...

The problem is that... well, for example, I have a tester for my game who is playing a character they have named Alice Walker.  Alice Walker can be called Alice Walker, Alice, Commander Walker, Jill (don't ask), Sister, Daughter, Grieva, Terra, Kusa, and Tona.  This is all easy enough to do via conditional statements and such I'm sure... but then I have another player (this one is hypothetical) who has named their character Matt Smith.  Matt Smith can go by Matt Smith, Matt, Commander Smith, Jack, Brother, Father, Needah, Jira, Orbiter, and Tro'na.

Both these characters have vastly different back stories based on character creation and choices made throughout the first few games that will affect how dozens of NPCs will refer to them by one of these names, and these names can change back and forth depending on choice.  Changing the actors name constantly is going to cause more confusion, especially for players looking at the save file, than me just allotting the 10 slots in the database to store names and such, but I could be wrong.

Original thread: https://forums.rpgmakerweb.com/threads/naming-woes-multiple-names-1-character.24129/