I'm working on a basic stealth mission. I have several opfor units "sleeping", and two opfor units set up in guard towers. None of these units are grouped. What I want is for the sleeping units to wake up whenever the player fires an un-suppressed gunshot or is spotted by a guard (the guard would shout something out).
So far, I've got the following set up:
Each sleeping unit is using a sleeping animation and has its AI disabled. I have a trigger set up that will re-enable their AI, pulling them out of the animation and into a normal combat mode. Based on the parameters I described before, I figure it makes sense that if one of the two guards spots/hears me, then it will activate the trigger and a shouting sound effect. Therefore, I have the trigger set to activate when opfor detects a blufor unit. However, this won't work for me.
If the player attempts to kill a sleeping unit with a quiet, silenced weapon, even if the guards don't hear, the unit will wake up for a split second before dying, causing the trigger to go off.
I need to find a way so that this trigger can ONLY be activated by the two guards in the watchtowers, and no other opfor units. It's important that these guards are specifically selected because I plan to set up other camps, too, and I don't want every sleeping unit on the island being alerted because a guard at one camp was.
If you've read through this all, many
thanks. All suggestions are welcome, as I've tried many work-arounds that didn't work.
Thanks in advance,