How to name two characters at once?

Ok so first, sorry if this is like a dumb question or something. But basically I am trying to make a game where like you name the main character you play as and stuff but like halfway through (idea from ocarina of time lol) you like become an adult version of that character but like I was trying to know if there is like a way to name both of them like in one thing or if I just have to have them be named seperately and stuff. Again sorry if this is a dumb question!
Use just one actor, not two. At the time they transition from child to adult, use the Change Actor ... commands on tab 3 to change the image, the class, anything else that needs to change.
You would need to modify the Scene_Name script a little bit to let it change the name of the adult hero as well.
Setting name of actor #123 to the same as actor #456 (after name-entering for #456 is done):
Ruby:
$game_actors[123].name = $game_actors[456].name.dup

String#dup will ensure that the actors will not share the same memory-location for their Game_Actor#name values.
Depending on how Game_Actor#name= is defined, this may be necessary or not.


~炬燵あ

Original thread: https://forums.rpgmakerweb.com/threads/how-to-name-two-characters-at-once.153659/