Editors Depot - Mission Editing and Scripting > Arma2 - Editing/Scripting Multiplayer

Broadcasting playsound to a side

(1/1)

Iceman77:
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: ---{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;

--- End code ---



Navigation

[0] Message Index

Go to full version