I'm currently working on my first game with VXA, and have implemented a small character creation event at the beginning of it which assigns a different face graphic to the main actor depending on the choice of male/female and class.
The problem I'm seeking help with is a way to display the main character's face graphic in a text box without using a large number of conditionals to check what the player has chosen.
If it helps, I have some programming knowledge, but haven't tried my hand at scripting yet.
The default has no text code for the face display, but there are several advanced messaging scripts available on the master script list, and this is one of the text codes most of them add. I suggest going to the MSL and checking which one you like best, the two most commonly used are the ones from Yanfly and from Modern Algebra.
This should be able to be done by using a type of control event. this would be an invisible event that takes place at the start of the game. You would have to do your conditional branch once and use each condition to set the face graphic to the corresponding class/gender selection. This would change the character graphics for the rest of the game, just ensure that it only runs once and then stops as you shouldnt have an uneeded event continuosly running. Use the event command: "Change Actor Graphic" under the "System Settings" section.
Edit: Actually, if you are doing this character creation with an event, you can do all of it in one. If you want i could make a sample event real quick and show you
Thanks Andar, I'll have to check the list and have a look.
Dexter130013, I think I was probably a little unclear in my original post. My problem is having the chosen face graphic appear for all future conversations that the character would be included in.
What i was referring to would change the character portrait for the actor permanently, i have just tried it out myself and it works.
During all of those choices which will be made, you will have to use conditionals to set the class of the actor as well, it is very easy to just throw in the actor portrait change. I am not sure how to post a picture or i would show you
Found a script that does what I want as well as a few things that I didn't realise I wanted until I saw that the script could do it. Thanks Andar for pointing me to that Master List.