Is there a way to get an actor to share a name with another?

KadoDragon

Veteran
Veteran
Joined
Sep 10, 2013
Messages
155
Reaction score
9
First Language
English
Primarily Uses
I need an actor to share a name with another actor who's name would change dynamically. They also need to retain that name, even if the actor they are copying changes their name.

I'm open to Events, Crazy Event Workaround, Scripts, or a combination of those.

Thanks in advanced.

**EDIT**

Details: The copycat actor will at times enter the party. The copycat in the party will need to retain that name even if the one they copied it from changes their name unless I tell them to copy it again.

For Example:

Actor 1 is Steve

Actor 2 copies the name Steve

Actor 2 joins the party as Steve.

Actor 1 changes their name from Steve to Robert

Actor 2 stays Steve

Actor 2 leaves the party

Actor 2 copies Actor 1's name

Actor 2 is now Robert.

To elaborate on a baser level without getting into too much detail about what I'm trying to do (since it already is complicated enough for me to think about it, I don't want to try to word it)

I am generating a name into Actor 13 based on a race that is also generated for them.

So Race 1 names are generated from their own pool of names and stored into Actor 13.

Race 2 names generated from their own pool of names and stored into Actor 13.

It is done like this so that I can present these generated option to the player in a simple message.

They player makes the choice of whether they like it or not and that name gets dynamically distributed to one out of 5 other actors. (Along with Class and Race, but that one is easily done on it's own.)
 
Last edited by a moderator:

Silenity

Veteran
Veteran
Joined
Dec 17, 2013
Messages
677
Reaction score
271
First Language
English
Primarily Uses
RMMV
Will the copycat ever be in your party?

If not you can always just use \n[x] to call the actor's name in message boxes.

For example:

Actor 2 is your actor that is being copied.

Actor 2 changes his name from Bob to Bill.

Use \n[2] and it will always find Actor 2's name.

If you change it again it will use the new name.
 

KadoDragon

Veteran
Veteran
Joined
Sep 10, 2013
Messages
155
Reaction score
9
First Language
English
Primarily Uses
Will the copycat ever be in your party?

If not you can always just use \n[x] to call the actor's name in message boxes.

For example:

Actor 2 is your actor that is being copied.

Actor 2 changes his name from Bob to Bill.

Use \n[2] and it will always find Actor 2's name.

If you change it again it will use the new name.
Hmm... That is some detail I should have put in. I will also edit my original post.

Yes, the copycat will be in your party. I also want the copycat to retain the copied name, even if the one they copied changes their name, unless I tell them to copy the name again.

For Example:

Actor 1 is Steve

Actor 2 copies the name Steve

Actor 2 joins the party as Steve.

Actor 1 changes their name from Steve to Robert

Actor 2 stays Steve

Actor 2 leaves the party

Actor 2 copies Actor 1's name

Actor 2 is now Robert.
 

EatYourBeetS

The Abysswalker
Veteran
Joined
Feb 23, 2015
Messages
96
Reaction score
30
First Language
Italian
Primarily Uses
$game_actors[2].name = $game_actors[1].name should work and do exactly what you want.
 
Last edited by a moderator:

KadoDragon

Veteran
Veteran
Joined
Sep 10, 2013
Messages
155
Reaction score
9
First Language
English
Primarily Uses
$game_actors[2].name = $game_actors[1].name should work and do exactly what you want.
Oh god my brain! That tripped me out.

I caught your post before you edited it. Got an error. Went to quote you and it showed your edit. Had me really confused since the quote was different from your post. Refreshed the page. Realized you edited.

HERP DERP MY BRIAN!

At any rate, this worked perfectly. Thank you.
 

EatYourBeetS

The Abysswalker
Veteran
Joined
Feb 23, 2015
Messages
96
Reaction score
30
First Language
Italian
Primarily Uses
Yeah I'm sorry, I confused the script call xD
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top