OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ProudPotter2490 on 15 Apr 2005, 23:27:43
-
Hello Comrades!
I've got a small problem with cfgMusic in my description.ext file. Heres the code:-
class cfgMusic
{
tracks = { franz1,franz2 };
class franz1
{
name = "";
sound[] = {\music\franz1.ogg, db+20, 1.0};
};
class franz2
{
name = "";
sound[] = {"\music\franz2.ogg, db+20, 1.0};
};
};
The error message says:-
Config: End of line encountered after \music\franz2.ogg, db+20, 1.0};
If anyone could help, it'd be much appreachiated!
ProudPotter2490 :afro:
PS: ... And yes, it is Franz Ferdinand if your curious :)!
-
Try this one:
class cfgMusic
{
tracks = { franz1,franz2 };
class franz1
{
name = "";
sound[] = {"\music\franz1.ogg", db+20, 1.0};
};
class franz2
{
name = "";
sound[] = {"\music\franz2.ogg", db+20, 1.0};
};
};
You only had one quote in the second music class, and none in the first.
Planck
-
Hey Planck!
Well spotted and thanks :)!
ProudPotter2490 :afro: