Jump to content
Sign in to follow this  
umbr44

Scripting mishap...please help

Recommended Posts

sad_o.gif  Firslty, please let me say I cannot script at all...I am currently using ARMAEDIT for my scripts and it is helping immensly until now.......

ummmbe3.jpg

 from this piece of script

///////////////////////////////////////////////////////////

// Armed Assault Description File

// Created with ArmA Edit - Version 1.2.1000

///////////////////////////////////////////////////////////

showCompass = 0;

showGPS = 0;

showWatch = 0;

class CfgMusic

{

// List of music tracks (.ogg files without the .ogg extension)

tracks[] = {2-10 William Tell_ Overture};

// Definition for each music track

class 2-10 William Tell_ Overture

{

name = "2-10 William Tell_ Overture";

sound[] = {\music\2-10 William Tell_ Overture.ogg, db + 0, 1.0};

};

};

I see no   -    on line 10, so what is wrong.  Sorry if I sound like a noob

sad_o.gif

Share this post


Link to post
Share on other sites

As far as I know, you can't use "-" in classnames, which you seem to do in

Quote[/b] ]class 2-10 William Tell_ Overture

Nor, can you use spaces. So change it to something like

Quote[/b] ]class 210_WilliamTellOverture

You'll also need to change it in "tracks" as well.

Share this post


Link to post
Share on other sites

Ahh thankyou, I shall try that now. smile_o.gif

Worked perfectly, thankyou biggrin_o.gif

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  

×