I’m currently working on my first choicescript based game. I’m still new and still learning, but i’ve grasped most of the basics already and crave for more advanced features that I’ve yet to discover. My question is if it’s possible to lock/hide a choice until you’ve managed to get a certain achievement which would only be possible later on in the story. This is to encourage multiple playthroughs.
Or maybe there’s a different way to do it? Any help would be appreciated.
Edit: I tried the *check achievements + *selectable if combo. DIdn’t work for me so far. Trying to grasp all the possibilities of Choicescript itself.
Thanks, I’ll try that too. If it doesn’t work I’ll just stick to a simple “input_textbox” where you’ll enter letters that you’ll get from different endings.
It looks something like this. The problem is with *check achievements. Basically, I get “Invalid indent? Expected an #option here, not *check_achievements”, unless i bring it all the way to the left which makes the choice disappear. I’m probably doing something wrong.
*choice
#Choice A
Choice body
*page_break
*goto label
#Choice B
Choice body
*page_break
*goto label
*check_achievements
*selectable_if (choice_achieved_something) #Choice C
Choice body
*page_break
*goto label