Check if all actors of a class have set value to true

I usually do it the other way around: assume they are all dead (set All Dead bool to true), and then check if there’s any alive yet. If at least one is alive, stop the loop execution and proceed with your functions.

3 Likes