This seems like some pretty basic functionality, I understand it's slow, it won't be done frequently etc.
I need to search through all my actors to find a bunch of specific ones dynamically and add them to an array list. I'll worry about building the array and adding the found objects once I figure out how to fix this compile error.
My code is the following:
The error I'm receiving is:
local actor A;
local string actor_tag;
ForEach WorldInfo.AllActors(class'Actor', A)
actor_tag = A.Tag;
if (actor_tag == "Crystal")
Error, 'ForEach': An iterator expression is required
On the "ForEach" line obviously.