Having the player choose multiple times

In my game at the beginning of the game I am giving the player options on different conditions they start out with. But I want to give the player the option to choose more than one of those conditions. I found a way to loop the choice but if the player selects all but one of the options it has an error. I tried fixing it with an if statement but it’s producing an error. How do I fix it? And is there a better way to do this?

If you are checking more than two conditions on an *if statement, these need to be separated with parentheses. Check the choicescript wiki and scroll down to the and/or/not section for information.

As for your use case, try this:

*if (depression)
  *if (split_personality)
    *if (anxiety)
      *finish

Try this

*label select_conditions
*if (depression)
  *if (split_personality)
    *if (anxiety)
      *finish
4) Do you have any complications?

Thanks

1 Like

I am having one new problem though. If I choose all the options, the next scene has the previous writing.

For a better way, can you see if this code does what you need it to? You don’t need the space between the # and the word, it’s just for clarity.

1 Like

Thanks