I have a set of four locations and want players to be able to visit two of them before the game moves them on to the next part of the story I have them set to be unselectable if the player has already visited them. I need help with the code to use to make sure the game doesn’t let them pick all four options. Here is what my code currently looks like:
Looking around once again, you pick a building to investigate first.
*label firsttimeexploring
*choice
*disable_reuse #The Bar
placeholder Text
*goto firsttimeexploring
*disable_reuse #The Cafè
placeholder Text
*goto firsttimeexploring
*disable_reuse #The Library
placeholder Text
*goto firsttimeexploring
*disable_reuse #The Flower Shop
placeholder Text
*goto firsttimeexploring
I’m wondering if I need to use an if and a goto in conjunction with one another? something like
*if ((location1) and (location2)) *goto timepasses
But then I’d have to come up with all possible permutations of their two choices and it would be a big mess.
I’m sure this problem has come up before. I just don’t know what to call this function to be able to search for help. I’ve tried ‘timer’ and ‘click counter’. Either a code suggestion or a link to a relevant premade post or tutorial would be super appreciated!
Thanks for your time!