Name Input Inside Gains

Hey guys so I’m trying to code my story so the reader can choose their love interest’s sexuality. I’ve done that part, but when I try to let the reader choose their LI’s name, it says I can’t put labels inside if/then statements. Is there a way around this so they can choose their name? Please help!! Screen Shot 2020-05-30 at 6.25.01 PM|690x399

2 Likes

Try this

choice
“Girls” {
gain Girl
goto GIRL
}

“BOY” {
gain Boy
goto BOY
}

label GIRL

(Insert custom, name etc)

goto GIRLSTORY

label BOY
(insert custom,name etc)
goto BOYSTORY

label GIRLSTORY
Insert story with girls as LI
(when done with story) add

goto END

label BOYSTORY
Insert story with boy LI
(when done with story add)
goto END

label END

Add something like

INT.BLACK-DAY

NARRATOR
To be continued

In the next episode you will need to add something like this

if (Girl) {
goto GIRLSTORY
}
else {
goto BOYSTORY
}

It worked! Thank you so much!

1 Like

Glad it worked for you :slight_smile:

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