i am trying to figure out how to pass structures based on the state of one of the variables.
bassically there are 8 "teams" that each have a "progress" variable that is a bool. I want to be able to pass the 4 "teams" that have had their "progress" bool set to true. I have looked into just doing this with if statements but I would rather avoid having to write out the 70 possible combinations of teams :/ is there a way to write a conditional that will bassically pass any "teams" with a true "progress" into a function. If anyone has any alternative suggestions that won't require a full re write of the code I would much appreciate hearing them.