Hello all,
I’m still very new at this, but I’m trying to create a simple “choose your own adventure” where each page has a list of choices, and based on these choices, flip to the appropriate page. I’m getting stuck.
I have a data table where I’m using a ForEach loop to list the available choices for each page in my story. There will be cases where once a choice is made, the player should not have an option to see it again. I would have the game flip a bool switch and not have it list that choice again (as this choice could come up in more than one page).
Basically, I want it to list each of the possible choices available in my original array where the bool in that row is false. If it’s true, it shouldn’t be listed. I feel like this is a simple thing to do, but I just can’t get it to work right. I posted where I THINK it should go, but I could be wrong. Please go easy on my likely atrocious best practices violations. As I said, I’m brand new to this. Can anyone please point me in the right direction?