After I followed the basic behaviour tree tutorials. I thought I’d edit it to my needs. I want to find all instances of a specific actor class. Then I want to check the line of sight to this object and aggro if it was found.
However, running a foreach from the 'Get all actors by class ’ node gives me compile errors (which are not there when doing this in a normal blueprint). What am I doing wrong?
I will take a screenshot later today, but maybe you guys can already tell me I’m doing something stupid.