Tutorial-Blog Storing Text in Variables for Player Pronoun Selection

Storing Text in Variables for Player Pronoun Selection

Written by: @Touchfuzzy

Read the Tutorial Here

(Note: This tutorial was originally made for the RPG Maker Festival as a Steam Guide)​
This is an excellent tutorial, not just in helping make pronoun choices more accessible, but also opening up a world of possibilities with text storage. Thank you so much for this.
Oh, heck yeah! I was knocking myself out trying to figure out a way to do this that wasn't completely unwieldy and plain old variables didn't occur to me because I always think of them as numbers and not text.
that wasn't completely unwieldy
my rusty old skull thinking about storing text in \n[x].... yeah haha this is soo much better!
Unfortunately using "they/them" makes it read, "You know how they is". Other than that, fantastic guide!
Unfortunately using "they/them" makes it read, "You know how they is". Other than that, fantastic guide!
You could get around that by having an additional variable for the pronoun + is/are, or have a conditional branch that checks whether the variable contains "they" and if so displays the dialogue using are, and if not displays it using is.
You could get around that by having an additional variable for the pronoun + is/are, or have a conditional branch that checks whether the variable contains "they" and if so displays the dialogue using are, and if not displays it using is.
Yeah, I should have thought of that!
Yeah, I should have thought of that!
The latter approach is probably preferable because you end up with the same issue with was/were, wasn't/weren't, isn't/aren't, and at that point the variable load is likely going to be a bit unwieldy if you're covering for every possible combination.
The latter approach is probably preferable because you end up with the same issue with was/were, wasn't/weren't, isn't/aren't, and at that point the variable load is likely going to be a bit unwieldy if you're covering for every possible combination.
Yeah, it still cuts down to writing only two variations of lines, and only having to do it when it combines with a verb that uses a different form.
@Touchfuzzy This is gonna be a dumb question, but how do you do this for VX Ace? What's the script call for it?
@Touchfuzzy This is gonna be a dumb question, but how do you do this for VX Ace? What's the script call for it?
Honestly not sure. maybe @Archeia would know?
@Touchfuzzy This is gonna be a dumb question, but how do you do this for VX Ace? What's the script call for it?
Ruby:
$game_variables[id] = "text"

EDIT:
For actor name
Ruby:
$game_actors[id].name
Honestly after years of not looking at it, Ruby has vacated my head completely.
Ruby:
$game_variables[id] = "text"

EDIT:
For actor name
Ruby:
$game_actors[id].name

Amazing. That solves at least two major problems I would have had otherwise.
@Touchfuzzy This is gonna be a dumb question, but how do you do this for VX Ace? What's the script call for it?

I also have the VXA script call list in my signature if you are curious.

Original thread: https://forums.rpgmakerweb.com/threads/storing-text-in-variables-for-player-pronoun-selection.145460/