Search the Community
Showing results for tags 'say'.
Found 2 results
-
sound Play sounds for specific players
Dj Rolnik posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey guys, I am trying to wrap my head around the various playMusic, say2D, playSound3D commands and am still having trouble. I would like achieve the following two things: - When a blufor player uses an action on an object, ONLY the blufor players hear a 2D sound (it has to follow the player and be heard locally, like a radio message of sort). - The same as above, but triggered when any blufor player enters a trigger. I tried various commands but am still struggling with locality of the commands. I believe that I am not using them on the correct clients, or something like that. The reason it needs to be played for side is that the mission is supposed to be PvP, so I do not want the opfor team to hear the audio. Any help will be much appreciated. Cheers! -
Custom Action that triggers custom say3D sound
finicu posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi. I want to add a custom action to a player that, when triggered, will play a custom sound "sound1.ogg" inside my mission file\music\ folder. My description.ext works properly, here it is: class CfgSounds { sounds[] = {01,02}; class 01 { name = "01"; sound[] = {"music\sound1.ogg", db+10, 1.0}; titles[] = {0,""}; }; class 02 { name = "02"; sound[] = {"music\sound2.ogg", db+10, 1.0}; titles[] = {0,""}; }; }; Note that sound2.ogg is not used yet. In the init field of the player that can play the sound, I have tried to make the custom action: this addAction ["Play Sound", this say3D "01"] but here's the problem: when I run the scenario, the sound is played at the beginning, right after the players spawn in, and there is no custom action on the player. If I forgot to add anything, please ask, this is my first post so I might have missed something...