Jump to content
Sign in to follow this  
Sasuke

Problem with Description.ext

Recommended Posts

Hi, I've been struggling with this for a while on my mission, does anyone know what's wrong with this script? (It's in my Description.ext)

It says the error is in line 35 (Second to last line) and that it's missing a "}"

class CfgSounds

{

// List of sounds (.ogg files without the .ogg extension)

sounds[] = {Thankyou,Help,FOB,Dontsell,Attitude};

// Definition for each sound

class Thankyou

{

name = "Thanks"; // Name for mission editor

sound[] = {\sounds\Thanks.ogg, 0.4, 1.0};

titles[] = {};

};

class Help

{

name = "Help"; // Name for mission editor

sound[] = {\sounds\Help.ogg, 0.4, 1.0};

titles[] = {};

};

class FOB

{

name = "FOBAttack"; // Name for mission editor

sound[] = {\sounds\FOBUnderattack.ogg, 0.4, 1.0};

titles[] = {};

};

class Dontsell

{

name = "Dontsell"; // Name for mission editor

sound[] = {\sounds\Dontsell.ogg, 0.4, 1.0};

titles[] = {};

};

class Attitude

{

name = "Attitude"; // Name for mission editor

sound[] = {\sounds\Attitude.ogg, 0.4, 1.0};

titles[] = {};

};

All help appreciated, thanks! ;)

Share this post


Link to post
Share on other sites
class CfgSounds
{

    sounds[] = {Thankyou,Help,FOB,Dontsell,Attitude};

    class Thankyou
   {
     name = "Thanks"; 
     sound[] = {\sounds\Thanks.ogg, 0.4, 1.0};
     titles[] = {};
   };

    class Help
   {
     name = "Help"; 
     sound[] = {\sounds\Help.ogg, 0.4, 1.0};
     titles[] = {};
   };

    class FOB
   {
     name = "FOBAttack"; 
     sound[] = {\sounds\FOBUnderattack.ogg, 0.4, 1.0};
     titles[] = {};
   };

    class Dontsell
   {
     name = "Dontsell"; 
     sound[] = {\sounds\Dontsell.ogg, 0.4, 1.0};
     titles[] = {};
   };

    class Attitude
   {
     name = "Attitude"; 
     sound[] = {\sounds\Attitude.ogg, 0.4, 1.0};
     titles[] = {};
   };


[color=#ff0000]};[/color]

Edited by Iceman77

Share this post


Link to post
Share on other sites

I've been trying to deal with this for months, thank you so much for the quick reply and the fantastic help!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×