Help with complex choices!


#1

Can someone tell me how to code choices within choices?
For example, the reader has the option to ask questions 1,2, and 3. If they ask question 1, they still have the option to ask 2 and 3 after it’s answered.
I hope that makes sense. :slight_smile:


#2

You mean like if I chose to ask question 1 then the next choice will be with only 2&3?


#3

Yes. I’ve seen it done, but I’m not sure how to code it,.


#4

Here ya go!


#5

You need to use gains for example:

choice
“question 1”{

gain question1

}“question 2”{

gain question2

}

if (question1){

choice
“question 2”{

}

}


#6

got it!
Thanks so much!


#7

There’s more about gains and a few more things here:


#8

Get the answer you were looking for? :slight_smile:


#9

Closing due to one month of inactivity :slight_smile:


#10