I have a rather big problem, is that I have a hunter mog plugin which is hud actor, and I have a character which has the power to transform, the problem is that when the actor transforms the image of the hud actor plugin character does not change, so what I did was to divide the two transformations into two different actors, but it's the same actor, which has the same name, but that's where the problem is. In one part of the game the player must enter his name with the name input function, but only change it to one of the two actors, not both, since those two actors are one, and since the information must be the same, how can I change the names of two actors at the same time?
How to rename two actors at the same time with the RPG maker mv name input?
RPG Maker MV SupportAfter Name Input command make a Script call and try this snippet. Check the numbers to fit it to your game.
Code:
var name = $gameActors.actor(1).getName();
$gameActors.actor(2).setName(name);
👋 Nearly...
getName isn't defined in the core scripts, use name instead, e.g.
JavaScript:
var name = $gameActors.actor(1).name();
$gameActors.actor(2).setName(name);
thank you very much friend! the .getname () script did not work for me, but the rest if it was correct, thank you very much for really helping me :3
Thank you very much brother, the script has worked and the problem has been solved :3
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-rename-two-actors-at-the-same-time-with-the-rpg-maker-mv-name-input.122628/