Disable reuse & selectable if choices


#1

So, no idea why this isn’t working now. I posted a few days ago about a similar issue, but for some reason it doesn’t want to work with this.

If you pick a choice (choices 1, 2, 3, or 4), it sends you back to previouslabel fine, but when you choose a second option (like your supposed to), choice6 is still unavailable & no matter what you choose, the line for choice5 says it needs “#choice” or that the line(s) below it are “expected indent 3 was 6”

*label previouslabel
*choice
   *disable_resuse *selectable_if (fighter < 2) #choice1
      (words)
      *if (fighter > 2)
         *goto nextlabel
      *if (fighter < 2)
         *goto previouslabel
   *disable_resuse *selectable_if (fighter < 2) #choice2
      (words)
      *if (fighter > 2)
         *goto nextlabel
      *if (fighter < 2)
         *goto previouslabel
   *disable_resuse *selectable_if (fighter < 2) #choice3
      (words)
      *if (fighter > 2)
         *goto nextlabel
      *if (fighter < 2)
         *goto previouslabel
   *disable_resuse *selectable_if (fighter < 2) #choice4
      (words)
      *if (fighter > 2)
         *goto nextlabel
      *if (fighter < 2)
         *goto previouslabel
   *selectable_if (fighter > 2) #choice5
      (words)
      *goto nextlabel
   *selectable_if (fighter > 2) #choice6
      (words)
      *goto nextlabel

*label nextlabel

#2

For option 5 and 6, fighter > 2 means that the value needs to be higher than two. If you want options 5 and 6 to be selectable when the value of fighter is equal to or greater than 2, you need to use fighter >= 2

I assume the error it gives is because, if the value of fighter equals 2, none of the choices are selectable. This’ll be fixed if you use >= instead of >


#3

It’s reuse, not resuse :v


#4

Thanks. Sorry, sometimes when I get to typing super fast i don’t notice something small like that XD

& using >= worked, thanks!


#5

Also, For example, for the first choice; you dont need *if (fighter > 2) since you have the option only *selectable_if (fighter < 2) unless you’re planning to add to that variable if that option is selected.