Home   Help Search Login Register  

Author Topic: Broadcasting playsound to a side  (Read 1939 times)

0 Members and 1 Guest are viewing this topic.

Offline Iceman77

  • Members
  • *
Broadcasting playsound to a side
« 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;