Set actors name same as another actor

ultimate2106

Villager
Member
Joined
Oct 30, 2015
Messages
24
Reaction score
1
First Language
German
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 :(



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



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

Thanks for help!
 

Rpg Guy

Complex Eventer
Veteran
Joined
Sep 29, 2015
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
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.
 

ultimate2106

Villager
Member
Joined
Oct 30, 2015
Messages
24
Reaction score
1
First Language
German
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! :)
 

Rpg Guy

Complex Eventer
Veteran
Joined
Sep 29, 2015
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
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.
 

ultimate2106

Villager
Member
Joined
Oct 30, 2015
Messages
24
Reaction score
1
First Language
German
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 =(

 

Rpg Guy

Complex Eventer
Veteran
Joined
Sep 29, 2015
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
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.
 

ultimate2106

Villager
Member
Joined
Oct 30, 2015
Messages
24
Reaction score
1
First Language
German
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 :D

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

Rpg Guy

Complex Eventer
Veteran
Joined
Sep 29, 2015
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
Well.. either I don't get it or you didn't understand what is happening in my game :D

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.
 

ultimate2106

Villager
Member
Joined
Oct 30, 2015
Messages
24
Reaction score
1
First Language
German
I found this Scriptcall:

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

But I can't get the name of actor x, can I?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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)
 

ultimate2106

Villager
Member
Joined
Oct 30, 2015
Messages
24
Reaction score
1
First Language
German
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..



This is my call:

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

$gameActors.actor(9).setName($gameActors.actor($gameVariables.value(1)).name);
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
sorry. Left off an () at the end.

Code:
$gameActors.actor(id).setName($gameActors.actor($gameVariables.value(1)).name())
 

queenchrom

Villager
Member
Joined
Mar 30, 2016
Messages
9
Reaction score
3
First Language
English
Primarily Uses
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]))
...?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top