Let players choose a specific amount of choices at once?

As the title says. This has probably been covered before but for the life of me i can’t find the thread, sorry for that oof.

I want to know a way to code a scene with allows the player to pick, lets say 3, of however many options are available, but then forces the scene to continue after the third has been picked.

I think theres a way to do this with variables, but its just not clicking for me. Any assistance would be appreciated!

*label return_scene
Pick from these options. You can only pick three.

*choice

 #Cat

 #Dog

 #Fox

 #Lizard

 #Rat

 #Bird

 #I'm done
   *goto next

This is just an example code i whipped up, if anyone could pitch in and help me understand the concept that’d be great :sob:

*label return_scene
Pick from these options. You can only pick three.
*if tick > 2
  *goto next
*choice
  *hide_reuse #Cat
    *set tick +1
    *goto return_scene
  *hide_reuse #Dog
    *set tick +1
    *goto return_scene
  *hide_reuse #Fox
    *set tick +1
    *goto return_scene
  *hide_reuse #Lizard
    *set tick +1
    *goto return_scene
  *hide_reuse #Rat
    *set tick +1
    *goto return_scene
  *hide_reuse #Bird
    *set tick +1
    *goto return_scene
  #I'm done
    *goto next
6 Likes

Yess!! Ticks, thats the thing that was escaping me lmao

Godspeed thank you, im gonna test this out later on

3 Likes

You can also use disable_reuse if you want the selected options to still appear but be grayed out, if I recall.

5 Likes

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