I’m trying to code my main character’s eye color in Choicescript, however, when testing it out it’s making me pick an eye color 3 different times. Can anyone help me fix this?
For some reason the three selections for gender don’t work, either. The one for grandfather works, but the other two don’t. the other two choices skip to the eye color choice. How can I fix that?
EDIT is there a possibility that I could show you on discord?
It might be more helpful if you explain the exact text of the error you are getting.
Often it is a matter of indentation, or falling out of a choice, or needing to create a variable before aetting it.
There’s a lot of helpful tutorials and topics you can lookup by searching. Someone else probably had the same error message. The search function as really helped me out a lot.
There’s also the Choicescript wiki. Maybe start with: A Basic Tutorial.
I see what the issue is The problem lies in the placement of your *fake_choice and *input_text commands. Currently, you have the eye color choices inside the first *fake_choice block, which means the player has to make a selection three times. To fix this, you need to separate the eye color choice from the gender choice.
In this revised version, the eye color choices are placed after the gender choice, and they are enclosed in their own *fake_choice block. The *input_text command is now moved outside the *fake_choice block to allow the player to input a custom eye color if they choose the “A Different Color…” option.
You can just copy my code and I’m sure it will work, either way if it didn’t work you can give me more details about the problem, and I see if I can help.