So. This is defeating me.
When I get within a certain distance of Enemy Type A, I want him to alert all of the enemy type B’s within a distance (of say 2500). Upon receiving the alert they would change into combat mode and seek the enemy out.
I’ve got a bool on Enemy Type A that sets to true whenever I get within the distance.
Is there a way to do an object trace within a certain distance but in every direction? If I could do that, I could put it on Enemy Type B, and just check if Enemy Type A is the result of the trace, if so, check if that particular enemy’s alert bool is true, and then change the behavior tree.
If you have a better way of doing this, I’m all ears. Just trying to figure it out.