Hi guys... Don't know if this has been discussed yet, but how do you make a visible gender variable in stats?

I’m trying to figure out if there’s a way to create a visible variable that the user can manipulate without specifically inputing text themselves… I know how to add code for the user to enter their own name, but I don’t specifically want to do that for gender.

I’m looking to have the gender of the user (Whatever they choose for it to be - male, female, non-binary or whatever) present in the stats screen. Is there a way to do this? :open_mouth:

Any help given would be seriously appreciated!

Thanks guys x

Displaying gender in the stats screen, or wherever else, is the same as displaying any other variable.
Let’s say the player’s gender is stored in a variable called mygender

To display that, you would just use something like:

My gender = ${mygender}

You can put variable replacements like that in most places.

If the player’s gender is female, the code would display like this:

My gender = female

4 Likes

Oh, I see! Thanks. I guess I got a bit confused there ahah. Seriously though, thank you for the help! :smile:

1 Like

You can also use the “text” command under *stat_chart, if it’s in your choicescript_stats.txt file. If you do this:

*stat_chart
   text mygender Gender

It’ll show up as -

Gender: (whatever is in the mygender variable)

5 Likes

Thanks, duly noted! :slight_smile: