I just know I’m missing something obvious, but I have no idea how to set name, gender hair color, and other such options. I looked at some other posts and examined the code for a few games, but I can’t figure out what I’m doing wrong.
This is some of the code I used for the stats:
*label stats_screen
text Name: $!{name}
text Gender: $!{gender}
text Hair color: $!{hair}
text Eyes: $!{eyes}
The issue I see is that you have an *if statement checking the capitalization of the player’s name that leads to the gender choice, but if the name variable is capitalized, then nothing happens. Not sure what’s really going on there.
On your stats screen, you either need to use *stat_chart with the text you’ve written or remove “text” before each item. If you use *stat_chart, you can remove “: ${nameofvariable}” from every item on the list.
Your *if that checks the capitalization is empty. You can’t do that. Something has to be underneath the *if.
If you’re checking the stats screen after setting the variables and they’re still displaying “unknown,” then *label gender is getting skipped somewhere else in the code.
Your stats screen is choicescript_stats.txt, which is opened by clicking the “Show Stats” button in-game. Is that where that specific snippet is located?
Both do the same thing. I'd personally recommend the second one, though.
On the other hand:
*label naming
*page_break
What is your name?
*input_text name
*if ("${name}" != "$!{name}") ///What does this do? As of now, it does nothing.
*goto gender