Psycho1 0 Posted April 3, 2002 Here is my description.ext, I probably did something wrong with the sound part: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">titleParam2 = "Score to win:"; valuesParam2[] = {10000, 20, 25, 30, 35, 40, 45, 50}; defValueParam2 = 40; textsParam2[] = {"Unlimited", 20, 25, 30, 35, 40, 45, 50}; class CfgSounds { sounds[] = { Flagtake, Capture }; class Flagtake { name = "Flagtake"; sound[] = {"Flagtake.ogg", 1, 1.0}; titles[] = { }; }; class Capture { name = "Capture"; sound[] = {"Capture.ogg", 1, 1.0}; titles[] = { }; }; }; <span id='postcolor'> I'm using the sounds for when someone caps the flag or it's returned. I bring up the sound in a script using PlaySound "Flagtake" for example. Plz let me know what I did wrong. Share this post Link to post Share on other sites
Psycho1 0 Posted April 3, 2002 Still can't find why the sounds aren't working:( Share this post Link to post Share on other sites
Psycho1 0 Posted April 4, 2002 Can someone plz help me here? I'm pretty sure it's some syntax error in the description.ext.......but I have no other description.ext that has classcfgSounds, so I can't check it myself. I get no errors when I run the mission, but I don't get the sounds when someone caps the flag:( Share this post Link to post Share on other sites
Psycho1 0 Posted April 5, 2002 Fine, I guess I can go without a cool little sound playing when someone caps a flag..........*starts crying* lol Share this post Link to post Share on other sites