Is there a way to add characters with variables

Is there a way to add charaters in game by using variables?

Like this :Question.bmp

I wan't to make a character name input under <What's your name?>

But how?
NBF768r.png
When you chose the 'input number' command, you had to choose a variable as well. Use this variable in a conditional branch to check which value it has (so use equal to), and then for each number, create a conditional branch that adds that partymember.
I already know how to do that Baka Chan.

But what I need is you choose your Gender/Class by using number input processing.

And after you do that I want it to add 1 character out of 8!

Then it lets you name the party members...
Thank you Celianna this I think Ill try it soon!
Mizumi, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


I assume you have 8 characters set up, and you want to add one of them to your party depending on the choices of the player. This is a bad design approach - whenever you want to do something with an actor, you will have to set up an 8-way conditional branch to determine WHICH actor to do it to.


Instead, have ONE actor in your Actors tab, and do as Baka-chan said. Have them choose their class, then use the Change Actor Class command to change that one actor to the correct class. Then have them choose their gender, and use a Change Actor Graphic command to change the one actor's sprite and face graphic. Then do a Name Input Processing to let your player name the one character.


You should also be more careful with your requests. The thread title indicates you want to use variables to add a certain actor to the party, which is the question Celianna answered. But your opening post had nothing at all to do with adding actors or using variables - instead you were asking how to name your character, which is what Baka-chan answered.
Thanks everyone! This worked very well.
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/is-there-a-way-to-add-characters-with-variables.19992/