In this example I have 3 target points. One of the points has an actor tag “IS”.
When I perform the “Actor has a tag” action I get as a result, after the loop:
true
false
false
Is there any way of getting this info, to cull the false ones so I only get the one with the true boolean?
I did figured out myself how to do it. So I will write it down here in case anybody else have the same doubt.
So, since the loop analyze each element of the array individually:
-
you need to create a “target point” variable.
-
Set the variable to get the data from the loop each time the branch is true.
-
Create a new array with the target point variable which will only take the true values.
I attach the blue print so it’s more clear.