I have another thing I would like to add to this:
How would I add a sideChat feature to it so every time I kill someone, it plays a random sound AND the person who killed the enemy would say something like: "Tango Down" along with a sound file I have that says exactly that. I thought it would be simple to just put something like this:
waitUntil {!(isNil "bis_fnc_init")};
_responses = [["GotHim","Got Him!"],["Contact","Contact!"],["TangoDown","Tango Down!"],["BingoBingo","Bingo Bingo!"],["ThreatNeutralized","Threat Neutralized!"]];
_indx = floor random 3;
playsound ((_responses select _indx) select 0);
player sidechat ((_responses select _indx) select 1);
But everyone says the response (assuming they're an actual player). And if an AI kills an enemy, it will make me say the response. I just want the killer to say the response.
tl:dr: How would I be able to make the killer say the response but everyone else be able to hear the sound file?