Help with gains and ifs and else


#1

For my story I want the readers to choose their sexuality
When I use a gain to remember their choices I put an if and else to go to a goto
My script has a error as well.


#2


#3

Capture


#4

For your first choice, you forgot to put a space between “choice” and "(Sexuality) :wink:


#5

It still has the error


#6

Do you know on which line it is? And did you close the bracket for the male if?


#7

aqff
It’s on the line that says else (Female) {


#8

The “else” needs to be by itself like this: } else {

You also need to use labels if you’re going to have 2 different genders.

Here is a sample template I made for choosing genders. (this template is for choosing the MC’s gender but it works exactly the same way for choosing your sexuality)


#9

Thanks it worked


#10

Moved to Directing Helps and Tips since it involves scripting. Make sure to check out our Forum Tutorial for more info about where to correctly create topics. :wink: