I want to know if it’s possible to make a choice available for several different variables.
As I am making a game where you’ll be able to choose certain classes, more than one class will be able to choose a certain path. I want to make something along the lines of…
*selectable_if (class = “Pirate Master”)
But I also want it to say…
*selectable_if (class = “Shadow Ninja”)
So how do I go about accomplishing this? Any help is appreciated greatly.
I just wanted to add that recently I’ve found myself splitting my logic up, a little bit like this:
*if ((class="pirate") or (class = "ninja"))
*temp can_choose true
*else
*temp can_choose false
*choice
*selectable_if (can_choose) #I'm a ninja or a pirate!
This is because I find that choices can get very cluttered and hard to understand or follow when you start adding long lists of ifs before them. Either method works, of course, use whatever you feel most comfortable with! That’s just another option.
@MaraJade
How would you use it if you were going for three options?
I’ve tried ((if class = “class1”)or(if class =“class2”)or(if class = “class3”)) and ((if class = “class1”)or(if class =“class2”))or(if class = “class3”), but neither of them seem to work. I get an error stating I used too many booleans on that line.