Save Game, checking multiple boolean to start next event

Hi, In my game I have rooms where the player needs to finish multiple tasks to enter the next room. Each task has has its own blueprint and when that task finishes it checks a boolean in the Save Game. (Task01Done✅️, etc)

How do I check if all the tasks boolean are done in the Save Game so that I can open the next room?

Any help is appreciated, Thanks

I’ll answer your question and I’ll offer an alternative.

How are the bools stored in your save game? Is it simply a bunch of unique Boolean variables? If so when you update any of your save game bools, then you could run a ForEachLoopWithBreak and check all of them, if any return false, break the loop and do nothing if none return false then execute the logic to move to the next room.


If that solution doesn’t work for your setup, add some more info and I’m sure it will get solved.

An alternative solution that I would offer, which is not worlds apart but maybe a little cleaner is to use GameplayTags. In the save game blueprint add a GameplayTagContainer variable and in each task blueprint you assign a gameplay tag to e.g. tasks.room01.task01 then when the task is complete you can assign that gameplay tag to the save games container and run a similar check to the boolean example but instead of needing to run a ForEAchLoop you can simply run a function to see if that container ‘HasAllTags’ and if it does execute the move on logic.


This is a lot easier to work with as you can add endless tags and they are easy to find and properly nested.

There are more advanced, maybe better ways to do this but I’ve tried to answer your question as presented, others might present you with these alternatives.