Jump to content
Sign in to follow this  
cobra@pulse

Can someone check my description.ext?

Recommended Posts

Hi there everyone.

Well, I have a small problem. I have 4 radio files and they are in the "sound" folder for a mission i am creating. Now i cant find them in any of the anonamous or vioces bits of the trigger. (not sure if they where ment tobe in there anyway  wink_o.gif ) Now, I cant get them to play. Heres the description.ext:

Quote[/b] ]

class CfgRadio

{

    sounds[] = {helodown1, radio1, radio2, radio3, radio4};

class helodown1

{

name = "helodown1";

sound[] = {"helodown1.ogg", db+0, 1.0};

title = $STRM_radio1;

};

class radio1

{

name = "radio1";

sound[] = {"radio1.ogg", db+0, 1.0};

title = $STRM_radio1;

};

class radio2

{

name = "radio2";

sound[] = {"radio2.ogg", db+0, 1.0};

title = $STRM_radio1;

};

class radio3

{

name = "radio3";

sound[] = {"radio3.ogg", db+0, 1.0};

title = $STRM_radio1;

};

class radio4

{

name = "radio4";

sound[] = {"radio4.ogg", db+0, 1.0};

title = $STRM_radio1;

};

};

class CfgMusic

{

tracks[]={1, nexttrack};

class 1

{

name = "1";

sound[] = {\music\1.ogg, db+90, 1.0};

};

class nexttrack

{

name = "naexttrack";

sound[] = {\music\nexttrack.ogg, db+90, 1.0};

};

};

So could anyone help. I have tried:

playsound "helodown1"

in the trigger activation field, but it says it cant find it. Please help me.

Cheers!  unclesam.gif

Share this post


Link to post
Share on other sites

Really all that tells me, is what i have done really. I will try to unit global radio etc but I dought it was that. Thanks so far though.

Share this post


Link to post
Share on other sites

Radio sound files cannot be activated by playsound. The command <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">unit sideradio "sound"is used for that instead. Define them as sounds and it will work.

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  

×