Does anyone know how to make it possible for the reader to choose their sexuality and code it into your story? All the ways I have researched are very complicated… help me??
Yes I do!
At the very beginning of the story, you give the reader a choice, then when they choose one, confirm it, and then add a flag, then for future chapters use labels and stuff
Ex.
choice
“I prefer men” {
gain label
} “I prefer women” {
gain label
} “I like both” {
gain label
}
You’ll have to use gain. Like name it gain_straight, gain_asexual, gain_gay, etc…
Sorry the code isn’t fully complete, but I thought it would work as an example
Thanks! What I did already was:
Are you interested in guys, girls, or both?
choice
“Guys”{
gain interest_guys
}
“Girls”{
gain interest_girls
}
“Both”{
gain interest_both
}
do you think that would work? like if i did that and then later in my story did if/then labels??
you guys are life savers!
Yes it works! You may want to confirm it first though. With nested choices
nested choices?
It should work I would use if, elif, and elif
(To test it out)
“Both”{
gain interest_both
NARRATOE
Are you sure?
choice
“Yes” {
gain
} “No” {
goto the beginning of the section
}
}
oh i see. thanks so much!
Of course! I forgot to put the label at the beginning though, but hopefully it still helps!
I’m having a hard time understanding this. Could you guys send me a sexuality choice code with some explanation of what should I do in the next chapters?
Labels, it’s all about the labels. and gotos and all that good stuff.