Hi! Thanks for checking my question!
I have a number of actors in my scene, all children of the same class, some of them with a bool set to true and I’d like to make them do stuff like changing location and destroying them when the player presses a key, but only those set to true. How could I do that?
These actors are spawned every 3 seconds and the player can press the key at any time, so I can’t predict the amount of actors to work with.
I’ve tried Getting All Actors of Class hooked with a For Each Loop, but I can’t get any array element that isn’t an actor, and I need to check the booleans in those actors.
How can I get this right? Maybe there’s a better way to do it? Thanks!