Hi, i´m having issues finding an actor,
A) i need to find tag “Enemy” from a group of actors (Actor Array 0)
B) After the previous selection, filter and find actors with a second tag “armor”, (Same actor BP type, Array 1)
C) Now, from this last list of actors, randomly choose 1 actor, not all actors, just 1.
I have been able to filter first tag with “Get all actors with tag”, but no idea, how to filter them to a second list, find actors with the second tag, and randomly choose 1.
Here is my BP pic, right now it finds the first tag, but if it doesn´t find the second tag, it continues to search… but sometimes takes forever to find an actor, or it finds the wrong one, and using “For each loop” was making it to choose all actors with tag “Armor” not 1, and there is no way to get actors with “Enemy” tag into an array and only from this list get all actors with the secondary tag, to finally choose one from these, no idea how to filter the second list by tag.
Please help! post your BP pic, thanks
This one causes it to select all actors with the second tag “armor”… while i only need 1 actor from that list, but still no way to choose only from the second tag, since no way to classify them, it has to test many times: