OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: Iceman77 on 05 Feb 2013, 08:27:18

Title: Broadcasting playsound to a side
Post by: Iceman77 on 05 Feb 2013, 08:27:18
How do I get the server to broadcast playsound to any given side only? This doesn't work, and broadcasts it to everyone anyhow.

Code: [Select]
{If (Side _x == East) Then {[_x,nil,rPLAYSOUND,"Captured"] call RE;}} ForEach PlayableUnits;
{If (Side _x == West) Then {[_x,nil,rPLAYSOUND,"LostZone"] call RE;}} ForEach PlayableUnits;