I want to set up a basic character creator. Type in a name, pick a race, pick a class etc.
Any advise on the best method to set this up? I was thinking of a Menu with Buttons linked to Global Events, but my set-up seemed overly cumbersome and my guess is there might be a better way.
For example, to pick a race I had a separate button for each race. When selected it called a different Global Event which changed the character class to that race.
I also started looking at using a Store to accomplish this, but I wouldn't want to put the selections into my inventory I'd want to use them immediately.
Any help or advise from the community would be appreciated :)
E.g. as your start event, first display a choice dialogue with the different races - based on the selected choice you can change the class (since each choice has it's own next step).
But keep in mind that you'll first have to add an actual player combatant to the active player group (using the Join Active Group step), or you wont be able to change the class :)
Edit:
Also, to let the player input a name (or change start status values), you can use the Value Input Dialogue. It stores the data (e.g. the name or a number for a status value) into variables, which you can use to change the name of a combatant (Set Combatant Name step) or initialize status values (Change Status Value step with Initialize enabled).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I have Value Input Dialogue with Value Type as Game Variable and Value as namechange
This is followed in the event by Set Combatant Name with my combatant selected and Value Type as Game Variable and Value as namechange
Tried using Value Type as Value and PlayerPrefs, still nothing. I have the Variable set as Local (but tried with Global as well). Scanning event variable and the variable namechange shows up
Any ideas?
Edit: I'm displaying the name as a message and I've used and to test after running the name change and I still just get the default name of the combatant.
Now, in the Value Input Dialogue, you need to set Value Type to Value, because you're directly defining the name of the variable (e.g. type Game Variable will use the text stored in a game variable as the name of the variable you're using). Input type is, of course, String.
In the Set Combatant Name, enable Use Actor and select your player actor. This time, Value Type is Game Variable (because we want the text from the variable) and the Value is the name of your variable.
After that, the name of the combatant is set, but you can't display it using #combatant.name0#, because that'll only display the original name from the combatant's settings. #actor.name0# should display it.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
FYI for others that see this, I also needed the variable set to Global. When it was Local it didn't work.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Why is there no "character creation" tutorial?
EDIT: And what do you do if you have a party of 6 player characters?
I'll do a tutorial on this topic when I find the time for it :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!