Yeah, that's the problem with character customization. I once had a gender option in my game, and i made two event pages, one with a male face and one with a female face. oOn the left, I had the specifications with whether it was a male or female character picked. If you don't undrstand, you can PM me and I can send you a copy of my game to show how it worked.
How are you doing the character selection? Are you using just a single actor, or do you have several (or many)?
I would have ONE actor, use a series of Show Choices to determine gender, class, etc and a Name Input to get their name (into a dummy name field), and then use Change Actor Graphic, Change Actor Class and Change Actor Name to set all of those details on the single actor that's already in the party. Change Actor Graphic lets you change the sprite AND face graphic. And whatever you change the face graphic to is what will appear in the text box.
You tend to get unstuck when you try to set up multiple actors and add/remove them based on the player's choices (and it also makes showing text harder because there's no "use the graphic of the first player in the party" option) - easier to have just one actor and customize it.
oh, darn! You'd think the maker would be a bit more clever about it. An option to choose an actor instead of an actual face would be nice.
I use custom message scripts, so I never have to choose a face for the dialogue. Otherwise I wouldn't have made that mistake.
That what I'm doing Shaz with the one character and just changing the graphic. I think I know what you mean Joeyhugg is it a condition branch like;
if player = female then show female dialogue
or
if player = female then show male dialogue
I know thats not how it looks Im just saying for an example.
It looks let a lot of unneeded work just for a simple gender choice but if you want a quality game you gotta put the work in ay,
developing aint easy. lol
That's not the problem though Beniwa - the selection of the actor is working fine. It's the face in the message boxes that's wrong, because it's not reflecting the new graphics on the actor, but the face that was initially selected in the Show Message option.
Fazztastic, the only ways to fix this are: non-scripting - write all your messages twice, once for female, once for male (this obviously becomes more complex if you have more options to let them customize the appearance of their character); scripting - find or write a script that will let you enter a control code at the start of a message, which tells it to use the face of Actor[n] instead of the one that's specified in the message box (I do this, which is why I made the mistake with my original suggestion)
Changing the graphic on actor 1 is EXACTLY what he's meant to do. The Change Actor Graphic command lets you assign a new sprite AND face to the actor. Have you SEEN the number of help requests people make when they try to have a separate actor in the database for each combination that can be chosen? In addition to having to remove/add the correct actors, there are a lot of other complications. So, actually, the way you suggest it be done is the way WE try and DISCOURAGE people from doing.
But the Show Text does not let you USE the actor's face - you have to select it manually. So the issue would still occur even if the OP used a dozen different actors (and that's what I said above - the more actor possibilities you have, the more complicated it's going to be, if you're using conditional branches to display the same text with different faces).
We discourage people from setting up a dozen actors in the database when they don't represent a dozen different party members. If you want your player to choose a gender and a class, and have multiple "appearances" based on their choices, it's really best done with just one actor, and the Change Actor Graphic and Change Actor Class commands. Because then anything you want to do with your actor requires ONE command on ONE actor - not heaps of conditional branches to determine which actor they have and then the appropriate command over each actor.
Shaz, just wanted to say 'thank you' for this handy little script. HUGE help, since I am trying to allow for a wide range of character customization that will be reflected with different Faces.
Thanks!
Glad you found it useful, AND that you actually searched for a solution to your problem instead of just asking for help straight away 🙂
Since it's been a few months and the OP has never come back and said if it worked or not, I'm going to assume it did, and go ahead and lock this up.