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

Hello

I’m trying to check for all actors of a class in level. And if actors are >= 1 which is to say there is at least 1 actor of class in level, to then loop through all actors of check if IsDead bool is set to true, and if all actors return true to then set new Variable as true and then to move onto next event

This is what i have so far any help will be appreciated

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.

2 Likes