Set actors name same as another actor

Hey guys! So I'm trying to create a characterselecter but facing a problem.

This steps shall be done:
- Selecting an actor for later in the story  -  CHECK

- Typing in a name and let it change the name of that actor (with script like in the img shown)  -  CHECK

- Changing the name of another actor to the same name  -  NEED HELP 🙁

hmmobsxc.jpg


And another question.. How do I get rid of the shadow in the waterfall?

map0041tsm8.png


Maybe I'm using the wall tile wrong?^^'

Thanks for help!
Hello, I believe I can help you with both questions. First giving an actor a name. In the 1st page of the event editor (under the actor section) There's a "change name" button. With that you can change the name of any actor in the data base to whatever you want.

As for the shadow question, on your map editor (next to the paint all tool) is the. Shadow pen. If you have trouble finding it it can also be found under the "draw" menu. After you've turned on the shadow pen simply click the shadows that you wish to take away. You may also use the pen to add shadows too.
Hello, I believe I can help you with both questions. First giving an actor a name. In the 1st page of the event editor (under the actor section) There's a "change name" button. With that you can change the name of any actor in the data base to whatever you want.

As for the shadow question, on your map editor (next to the paint all tool) is the. Shadow pen. If you have trouble finding it it can also be found under the "draw" menu. After you've turned on the shadow pen simply click the shadows that you wish to take away. You may also use the pen to add shadows too.
Hey! Thank you for reply 🙂

Sadly the name change via the Eventwindow by choosing "Change Name" isn't possible. That's because I want to change the name automatically to the name the player entered before. In "Change Name" I need to type in a specific name but I can't know what name the player will enter :/

Thanks for the help with the shadows! That worked fine! 🙂
If you know the actor ID# in the database you can simply use the "\n [1]" text code. Leave out the quotes & replace the 1 with the actor id number.
If you know the actor ID# in the database you can simply use the "\n [1]" text code. Leave out the quotes & replace the 1 with the actor id number.
I did as you said.. Didn't work =(

mehk2quc.jpg
The "\n[1]" is for when you want the name to show up in text. You said the player can name the character themselves, if you used the 'Name Input' command and have 'actor 4' as the target, then the database should update the name by itself.
The "\n[1]" is for when you want the name to show up in text. You said the player can name the character themselves, if you used the 'Name Input' command and have 'actor 4' as the target, then the database should update the name by itself.
Well.. either I don't get it or you didn't understand what is happening in my game 😀

I'm using this script call to change name of the actor the player has chosen:

var x = $gameVariables.value(1);

SceneManager.push(Scene_Name);

SceneManager.prepareNextScene(x, 16);

And I want to change the name of another actor to the same name he/she entered at the same time..
Well.. either I don't get it or you didn't understand what is happening in my game 😀

I'm using this script call to change name of the actor the player has chosen:

var x = $gameVariables.value(1);

SceneManager.push(Scene_Name);

SceneManager.prepareNextScene(x, 16);

And I want to change the name of another actor to the same name he/she entered at the same time..
You're right I didn't understand, I'm sorry but I'm not sure I know how to help with that.
I found this Scriptcall:

$gameActors.actor(actorId).setName(n);

But I can't get the name of actor x, can I?
is actor x the actor whose name you are changing, or the actor whose name you are changing it to? Is that the number in variable 1?


In that case it would be:

Code:
$gameActors.actor(id).setName($gameActors.actor($gameVariables.value(1)).name)
is actor x the actor whose name you are changing, or the actor whose name you are changing it to? Is that the number in variable 1?

In that case it would be:

$gameActors.actor(id).setName($gameActors.actor($gameVariables.value(1)).name)
Thanks a lot! But still have a problem..

mannomxsb4.jpg


This is my call:

$gameActors.actor(7).setName($gameActors.actor($gameVariables.value(1)).name);

$gameActors.actor(9).setName($gameActors.actor($gameVariables.value(1)).name);
sorry. Left off an () at the end.

Code:
$gameActors.actor(id).setName($gameActors.actor($gameVariables.value(1)).name())
sorry. Left off an () at the end.

$gameActors.actor(id).setName($gameActors.actor($gameVariables.value(1)).name())
HURRAY! Thanks a lot 😀
If I wanted to change Actor 10's name to Actor 11's name, would the script be...

$gameActors.actor(10).setName($gameActors.actor(11).name(\n[11]))

...?

Original thread: https://forums.rpgmakerweb.com/threads/set-actors-name-same-as-another-actor.52155/