Winters1807 0 Posted March 23, 2008 Hi, a little problem i have placed a custom sound in my mission folder in the /sounds directory and in my description.ext this is the code <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgSounds { sounds[] = { radio }; class radio { name = "radio"; sound[] = {"\sound\radio.ogg", 0.001, 1.0}; titles[] = { }; The thing is, i want to make this sound play from a particular object, dynamically, so, if you move closer, it gets louder, move farther away, it gets quieter, but i am struggling on how to do this, can anyone help? cheers Winters Share this post Link to post Share on other sites
manzilla 1 Posted March 23, 2008 class CfgSounds { sounds[] = { radio }; class radio { name = "radio"; sound[] = {"\sound\radio.ogg", 0.001, 1.0}; titles[] = { }; }; //I think you are missing these. };//If so, adding these may help out. This may not be the best place to ask, but I'm not sure. Try this forum, they seem to answer lightening fast. OFPEC forum: http://www.ofpec.com/forum/index.php?board=80.0 Share this post Link to post Share on other sites
W0lle 1050 Posted March 23, 2008 There is a reason why we have an editing forum here. Closing. Share this post Link to post Share on other sites