Hey I was just wondering if there was any way I could make a name input processing command that would change 4 different actors to have that name in game (Actors: 0001, 0002, 0003, 0004). I'm fairly new to RPG Maker so idk if there's a simple answer for that. If there happens to be no way to do this it's not such a big deal because I already have a name for the character as a default I just wanna know if there's any plugin or js I can do to make this work.
MV Is there any way to have name input processing affect multiple actors?
Javascript/Plugin SupportNot through the command, but you can use Name Input processing to let the player set actor 1's name, then do the following:
However, the fact that you are asking makes me think you have multiple actor slots all referring to the same actor, perhaps because they age through the game, or the player can choose between classes and this affects the sprite? This is not a good way to go about such a selection - instead it would be better to use a single actor, then after the choices are made, use the Change Actor Class, Change Actor Images, and similar commands to change whatever you want on the one actor.
Also, ditch all the leading zeros. Not Actor 0001, but Actor1. If you put 0001 into script commands, you could make the code think you're using a different number system and get very unexpected results.
Code:
$gameActors.actor(2).setName($gameActors.actor(1).name());
$gameActors.actor(3).setName($gameActors.actor(1).name());
$gameActors.actor(4).setName($gameActors.actor(1).name());
However, the fact that you are asking makes me think you have multiple actor slots all referring to the same actor, perhaps because they age through the game, or the player can choose between classes and this affects the sprite? This is not a good way to go about such a selection - instead it would be better to use a single actor, then after the choices are made, use the Change Actor Class, Change Actor Images, and similar commands to change whatever you want on the one actor.
Also, ditch all the leading zeros. Not Actor 0001, but Actor1. If you put 0001 into script commands, you could make the code think you're using a different number system and get very unexpected results.
Thx so much! The character is meant to age through the game but I was thinking about changing classes so they would have different skills throughout the game so I think I will go with the changing class/actor images. Thx for the other advice as well.
Original thread: https://forums.rpgmakerweb.com/threads/is-there-any-way-to-have-name-input-processing-affect-multiple-actors.140307/