Multi Choice, Disable & Limit?

So i want to have six choices (below EX), & the final choice I want to make unavaliable until only 3 other choices have been made. How could I do this? I tried making a temp var & setting the number after each choice to go to either 3, 2, 1, or 0 (depending on what the temp var # is) but when I test it I can make every choice except the last one

choice 1
choice 2
choice 3
choice 4
choice 5
choice 6 (final, disabled until 3 other choices made)

You can write the code so it’ll look like

*create loop 0
*choice
   *disable_reuse #A
      *set loop +1
   *disable_reuse #B
      *set loop +1
   *disable_reuse #C
      *set loop +1
   *disable_reuse #D
      *set loop +1
   *disable_reuse #E
      *set loop +1
   *selectable_if (loop >= 3) #Final choice
      *set loop +1
3 Likes

How would I make it so the rest of the choices are unavailable after reaching “loop 3”?

If that’s the case, you might want to add *selectable_if (loop < 3) to all the other choices.

*create loop 0
*choice
   *disable_reuse *selectable_if (loop < 3) #A
      *set loop +1
   *disable_reuse *selectable_if (loop < 3) #B
      *set loop +1
   *disable_reuse *selectable_if (loop < 3) #C
      *set loop +1
   *disable_reuse *selectable_if (loop < 3) #D
      *set loop +1
   *disable_reuse *selectable_if (loop < 3) #E
      *set loop +1
   *selectable_if (loop >= 3) #Final choice
      *set loop +1

Of course, you can use another name to substitute the “loop”.

3 Likes