I don’t know what’s wrong with my Script. I am trying to add an if certain stat then this is Possible
Here is My Code
*choice
*selectable_if (Strength = 5 ) #Fight
*finish
I don’t know what’s wrong with my Script. I am trying to add an if certain stat then this is Possible
Here is My Code
*choice
*selectable_if (Strength = 5 ) #Fight
*finish
If that’s all your code, there’s no other choice if strength isn’t 5, *choice
needs to have at least one choice available, otherwise, it can’t keep running, there’s no choice to make so you’re making a dead end where it shouldn’t suppose to be one.
try:
*choice
*selectable_if (Strength = 5 ) #Fight
You fought
#Flee
You're too weak to fight him
*finish
This way you will not get the “All choice must have at least one option” error…
Unless Fight was supposed to be the only action/choice, in that case you will have to put the IF statement check before the choice like this:
*if (Strength = 5 )
*goto choice
*else
*finish
*label choice
*choice
#Fight
You fought well
*finish
Note that both examples work IF and ONLY IF you strength is EXACTLY equals five.