Help to input choices for sexual orientation?


I’m having trouble with the sexual orientation part of my almost “self-published” game.
I’d like to give the player the ability to choose their preferences in the story.
My story is set in a small town with family and friends and there will be journeys and quests and such. And at some point in the story there will be options available for almost every action. Long story short–is there a way that I can set the preferred choice permanently for either option?
*set to “men”
*goto Ballroom
*set to “women”
*goto Ballroom

Can I alternate the story depending on which preference they select?
Or should I keep the characters I have as romantic interests for the player as both female and male?
9 characters as romantic interests
3 characters = 3 males
3 more characters = 3 females
3 other characters = non-binary/trans and/or undetermined/unknown
Without alternating the story or asking for a preference in sexual orientation.

Any answers on how I can do it in ChoiceScript?
I need help.


At the beginning you would put something like

*create orientation “unknown”

so when the choice pops up it would say . . .

*set orientation men
*goto Ballroom
*set orientation women
*goto Ballroom

And so later on, let’s just say it’s a lesbian choice you bring up, it could say something like . . .
*selectable_if (orientation = “women”)
*if orientation = “women”

I hope this helped or at least answered your question, if not then my apologies.


Hey there and welcome, Rose :slight_smile:

To answer your questions: choicescript is very manageable. Chances are you can do whatever you want to add to your story.


That’s a personal preference. Some authors leave the opportunity to flirt with all the ROs open. My personal opinion is: No, unless the MC is bi or pan. So I rather put a bit more of code to make sure a straight female MC can flirt with male ROs without the option to flirt with girls popping up all the time and possibly breaking immersion for the player. The way to do this is:

  *if (gender="female") #beautiful girls
    *set orientation "gay"
    *goto nextscene
  *if (gender="female") #handsome guys
    *set orientation "straight"
    *goto nextscene
  *if (gender="female") #hot people
    *set orientation "bi"
    *goto nextscene
  *if (gender="male") #beautiful girls 
    *set orientation "straight"
    *goto nextscene
  *if (gender="male") #handsome guys
    *set orientation "gay"
    *goto nextscene
  *if (gender="male") #hot people
    *set orientation "bi"
    *goto nextscene
  *if (gender="non-binary") #beautiful girls
    *set orientation "gay"
    *goto nextscene
  *if (gender="non-binary") #handsome guys
    *set orientation "straight"
    *goto nextscene
  *if (gender="non-binary") #hot people 
    *set orientation "bi"
    *goto nextscene
  #great artwork hanging on the walls
    *set orientation "non"
    *goto nextscene

*The way I code nonbinary people is not how I see them, mind you, it’s a way to tell the game how to act.

Then again, maybe you want to flip all the ROs’ genders depending on the MC’s orientation. There’s a way to do that, but I’m not really sure, since that’s not my cup of tea.~~

*I added the option to be bi, which I’m not saying you should add, but yeah, you tots should.~~~


@pimenita Really? Will the code in that same exact order here actually work for the S.O. part? Or is it an example of it? Either way, I will try it out! Thank you so much for your input!


Personally, I like having a mix of gender-flippable and gender-fixed romantic options. Flippable options give non-bisexual players more availability, whereas fixed options seem to help with the immersion for bisexual players. (My opinion, anyway. If all the potential romances flip one way after the first romance choice, am I still playing as bi?) I’m also in favour of an asexual/aromantic option, not only for asexual/aromantic players, but I’m sure that sometimes people would like to play without a romantic subplot getting in the way.

My way of setting up flippable options is to simply have a pronoun variable to keep track of the preferred flip: *if (ziy = “he”) then all flippable romances are men, and the variable can do double duty as a pronoun.


That seems an overly-complicated way of doing it. :confused: What’s wrong with:

You prefer:
        *set preference "male"
        *set preference "female"
    #Neither. You're not interested in romance.
        *set preference "neither"
    #Both guys and girls.
        *set preference "both"

That way you can just check if people prefer males or females, without having to check their gender first, e.g.

You meet a cute guy.
    *if ((preference = "male") or (preference = "both")) #Flirt with him.
        He kisses you.
    #Say hi.
        He says hi.
    #Murder him.
        Now he's dead.

(Note that this example was intentionally silly, but the idea would be the same in other contexts.)

Gender-flipping can lead to problems, and a lot of people don’t like it. I guess you should probably stay away from it unless you know what you’re doing.


@ParrotWatcher duh! You’re right.
@Kaei_Rose yeah, as I said it’s really manageable. ParrotWatcher’s way is a lot easier :wink:


You should take a look at this tutorial by FairyGodfeather. A Basic Tutorial on Name, Relationship and Gender Variables (go to the link and close the first window that pops up, you don’t need to create an account)

It’s really helpful. Good luck!


It seems legit. I like the simplicity and straightforwardness of it. So if I set preference to either male, female, neither or both it will automatically switch to one or the other or either or none? And does it have to be fake choice?


Thank you, @pimenita! You are very helpful!