Hi Community,
I want to trigger friendly units to engage the player's squad and stop the friendly units engaging the player's squad if a certain condition is met.
I tried setting a negative rating to all the units in the player's group via addRating but this makes the AI units in the player's group engage each other.
Background:
in my mission the player's squad is reentering friendly lines in the dark after a patrol and the player has to challenge the observation post to identify his group as friendlies.
Failing to do this there would be a chance that the AI manning the observation post would engage the player's squad until they use the correct challenge and password.
I need a solution which I can turn on mid-mission since the player's squad will have contact with another friendly group prior to approaching the observation post.
Edit:
another approach I just tried is to joinSilent the player's group to a WEST unit and back to an EAST unit once correctly challenged.
Basically this works however: Apart from the command bar being cluttered with the 'foreign' dummy units, also triggers checking for the presence of the group attached to the original player group seize working after these measures.