Hey guys ive got a squad issue. Basically i have a patrolling group consisting of 2 Hunters and 4 combines. They all follow a path_corner route that was trigger by an ai_scripted_sequence. That all works fine. But when the player attacks the group and shoots a hunter, Only the hunters respond to the attack and will give chase to the player. If the player shoots a combine, all 4 combines will shoot but only the one that has taken damage will chase the player the rest will fire while continuing the path route (untill the player shoots all 4).
Each NPC is in the same Squad and they seem to respond as a squad if they here combat noises. They also take turns in advancing on the player once all 6 members are engaged in the attack.
Wake Squad is enabled with an auto radius.
Could i have missed something in the setup? Basically i have an Auto_logic fire to a point_template which spawns the patrol. The template applies initial script and the relationships. Then each NPC has an Output, OnDamagedByPlayer enables a new ai_relationship via a logic_relay which disables itself (stops each NPC firing the same relationship again) Then if the player runs away out of the NPCs LOS they output again OnPlayerLost > math_counter > Add > 1 (Total of 6)
which fires a similar logic_relay. The math_counter setup is more complex. Its there so if all 6 npc's have lost sight then it resets the relationship. If the same NPC that lost sight of the player gains sight again the math_counter is deducted.



