How to deal with choices?

Okay, In my first chapter, the reader can choose gender and looks.
Now in the second chapter I want the reader to do a dressing game, but I can’t figure out how I direct the males to the male choices and the females to the female choices…
I think I have to use “if” but I don’t know how.
Can somebody tell me the command?

if

elif

else

like that :wink:

1 Like

Here you go, love. This is how you would do it.

1 Like

How are you writing the Male/female version? Just put the dress game like normal with the Male story and one in the female story. If you’re using if/else. You need to put a goto and label for dress game as you can’t have them inside if/else statements.

1 Like

Okay I think I almost got it, but something is wrong, can anyone tell me how to fix this?

NARRATOR
Okay, let’s check out the wardrobe.

if (“Female”){

label dressing_game
NARRATOR
What do you want to wear?
choice
“BLACK”{
@FEMALEAVATAR walks to upscreen left in zone 2
@FEMALEAVATAR changes into FEMALEAVATAR_BLACK
}“CASUAL”{
@FEMALEAVATAR walks to upscreen left in zone 2
@FEMALEAVATAR changes into FEMALEAVATAR_CASUAL
}“COLOR”{
@FEMALEAVATAR walks to upscreen left in zone 2
@FEMALEAVATAR changes into FEMALEAVATAR_COLOR
}“CLASSIC”{
@FEMALEAVATAR walks to upscreen left in zone 2
@FEMALEAVATAR changes into FEMALEAVATAR_classic
}“COVER”{
@FEMALEAVATAR walks to upscreen left in zone 2
@FEMALEAVATAR changes into FEMALEAVATAR_coverup
}
@FEMALEAVATAR walks to screen right in zone 1
@pause for a beat
NARRATOR
What do you think?

choice
“Wear this outfit.”{
FEMALEAVATAR (talk_neutral)
This is it!
}elif (“Male”){

label dressing_game
NARRATOR
What do you want to wear?
choice
“BLACK”{
@MALEAVATAR walks to upscreen left in zone 2
@MALEAVATAR changes into MALEAVATAR_Black
}“CASUAL”{
@MALEAVATAR walks to upscreen left in zone 2
@MALEAVATAR changes into MALEAVATAR_Casual
}“COLOR”{
@MALEAVATAR walks to upscreen left in zone 2
@MALEAVATAR changes into MALEAVATAR_Color
}“CLASSIC”{
@MALEAVATAR walks to upscreen left in zone 2
@MALEAVATAR changes into MALEAVATAR_classic
}
@MALEAVATAR walks to screen right in zone 1
@pause for a beat
NARRATOR
What do you think?

choice
“Wear this outfit.”{
MALEAVATAR (talk_neutral)
This is it!
}

You can’t have labels inside the if/else
if(female){
goto female_dressgame
}else{
goto male_dressgame
}

label female_dressgame
Dress game here for female
goto continue

label male_dressgame
Dress game here for male
goto continue

label continue
Story continues here

1 Like

Oh now I see. Thanks! :heart:

1 Like

Check out Dara’s website on gender choice too :blush:
https://www.dara-amarie.com/choose-your-gender

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.