Search the Community
Showing results for tags 'playsound'.
Found 1 result
Asmodeuz posted a topic in ARMA 3 - MISSION EDITING & SCRIPTINGHello! I had to create a workaround* when using triggers to be able to broadcast sound effects with hints to all connected clients (on dedicated server) and all is good excluding the fact that I'm unable to use the sound I'd like to, probably because I don't know how to correctly reference it (incorrect filename or something the like). I'm using remoteExec to broadcast sounds to all connected clients. Using the method is tried and tested to work with vanilla sound Alarm: "Alarm" remoteExec ["playSound"]; As for the sound file I'd like to use, I tried to use absolute(?) path and filename with and without the extension, like so: "a3\missions_f_beta\data\sounds\firing_drills\checkpoint_not_clear.wss" "checkpoint_not_clear.wss" "checkpoint_not_clear" but all these depending on what I was trying at the time of testing were returned with Sound nnnn not found. When we're talking about vanilla sounds there should not be the need to grab that one sound file I'd like to use and add it to my mission (and then reference the sound from the mission folder) or is there? So how do I correctly reference A3 vanilla sounds to be used in a trigger? Is there perchance a separate config file somewhere that would show the correct names of the sound files with which to reference them? Or should I use setSoundEffect (but I still wouldn't know how to correctly reference the sound file)? * It's all fun and games when you are creating a multiplayer mission and it's sort of slowly closing to be "finalized any moment now!". You've been testing it meticulously by running it as multiplayer mission through the in-game editor. And when you switch to dedicated server to test not much of the already established to be working is actually working, like simple triggers with hints and trigger (sound) effects.