tpw 2315 Posted September 7, 2013 (edited) @Kremator and @MagicPanda, I might as well kill 2 birds with one stone: // Ambient Radio Chatter in/near Vehicles while {true} do { private ["_sound"]; if (player != vehicle player) then { playmusic format ["RadioAmbient%1",floor (random 31)]; } else { if (player distance ourcar < 10) then { _sound = format ["A3\Sounds_F\sfx\radio\ambient_radio%1.wss",floor (random 31)]; playsound3d [_sound,ourcar,true,getPosasl ourcar,1,1,100]; }; }; sleep random 60; }; This will play positional audio if you are near a vehicle named ourcar, and non-positional audio if you are inside any vehicle Edited September 7, 2013 by tpw Share this post Link to post Share on other sites
Von Quest 1161 Posted September 7, 2013 TPW, this is great. How do you tweek to play random audio for near ANY vehicle other than 'ourcar'? cfg path? Share this post Link to post Share on other sites
tpw 2315 Posted September 7, 2013 This does the trick // Ambient Radio Chatter in/near Vehicles while {true} do { private ["_sound","_veh"]; if (player != vehicle player) then { playmusic format ["RadioAmbient%1",floor (random 31)]; } else { _veh = ((position player) nearEntities [["Air", "Landvehicle"], 10]) select 0; if !(isnil "_veh") then { _sound = format ["A3\Sounds_F\sfx\radio\ambient_radio%1.wss",floor (random 31)]; playsound3d [_sound,_veh,true,getPosasl _veh,1,1,50]; }; }; sleep random 60; }; Hmm, not bad, me! I'll put this one into my missions init.sqf I think. Share this post Link to post Share on other sites
Reuben5150 2 Posted September 16, 2013 Clarkey1 How do i change the chatter from bis to my own custom made and only in designated vehicles like helo1, tank1 and 2?So i can use radio chatter mix with music ! How do you mix with custom music ? Share this post Link to post Share on other sites
daneplant 5 Posted September 27, 2013 Hi tpw how would you increase the volume of the radio chatter in your code please? It is really low can hardly hear it, I have turned up my audio config to the highest setting but still a bit low for me :) Share this post Link to post Share on other sites
cc_kronus 9 Posted June 18, 2017 I would like to use this as ambient on fixed radios, like the big ones found on tables on CUP Is there any way to modify the script to make the desktop radio to play the chatter in 3D mode for multiplayer? Share this post Link to post Share on other sites