Grayed out option unless unlocked achievment?

So my code was originally

   *selectable_if (randomstat = 1) #yes.
         lorem ipsum
     #no.
         lorem ipsum

Because I wanted ‘no’ to be the only selectable option but now, I’ve figured that I want the yes to be the access to a secret route if the player finishes the game for the first time.

I’m not that good at coding so I tried this:

 *selectable_if (choice_achieved_finish) #yes.
         lorem ipsum
     #no.
         loremipsum

and obviously it doesn’t work. Is it actually possible or am I pushing it lmao

2 Likes

Hi! I tried this and it seems to work:

*achieve goodjob
*check_achievements
*choice
  *selectable_if (choice_achieved_goodjob) #yes.
    lorem ipsum
    *goto angryman  
  #no.
    loremipsum
    *goto angryman

Check you don’t forget the *choice command and that your selectable choices and normal choices have the same indentation and are properly aligned (else, only one is gonna show). Hope it helps!

2 Likes

AAAAAAA thank you so much it worked!!!

1 Like

No problem, glad to help!

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.