How to create a "Looping" Cast. C++

Static functions, just look at gameplaystatics class

You shouldn’t still try to poll on each actor, they could try to cast and then if that fails, add the actors to some array which you can then loop through when the need to update is relevant