Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi! I've been trying to implement the Pronoun Tool, but instead of a talk choice ("menu") I wanted to offer buttons, with something vbox like:

        textbutton "he / him":
            text_style "button" align(0.5, 0.5) action SetVariable("pronoun", 0), Jump("scene_next")

But whatever pronouns are picked, it is always set to default "they/them". I am very new to this, but... do you have any hints where/what to look for so I could fix it? I thought that maybe it's the same thing prikarin had problems with, but I am unsure if that's true or what variables they copied.

If your code is the way it is in your shared snippet, it shouldn't work at all because you don't have [] around the multiple actions for your button.


Other than that I would make sure you are calling the required code from pronounselection to actually implement the selected pronoun after the action.

(2 edits)

it's just a small portion of that code. Would it be ok if I sent you bigger chunk? Only to implement the tool, the buttons work, so I think I may be missing something rather small.

EDIT: I think I managed to fix it! I will continue checking if it's wrong, I will ask again, if that's ok with you. I also donated few $. Even if it's not much, I wanted to say thank you in some way :)

Hey, I'm having the similar problem. It always chooses they/them, no matter what I choose. Do you mind sharing how you fixed it?

Oh my, it was a couple of months ago... I think I was lacking code that would actually call the pronouns. I think I was missing these -- after the custom buttons I made... I think.

$ selectedpronouns = pronounlist[pronoun]
$ they = theylist[pronoun]
$ them = themlist[pronoun]
$ their = theirlist[pronoun]
$ theirs = theirslist[pronoun]
$ s = slist[pronoun]
$ es = eslist[pronoun]
$ are = arelist[pronoun]

Or something like that. Sorry I cannot be more specific, I am still learning...