Jump to content
Sign in to follow this  
rwake345

playMusic doesn't work.

Recommended Posts

In my description.ext I have

class CfgMusic
{
 tracks[]={};

 class intro
 {
   name = "intro";
   sound[] = {"audio\intro.ogg", db+10, 1.0};
 };
};

I have checked and the .ogg is in C:\Users\<NAME>\Documents\Arma 3 Alpha\missions\Assault.Stratis\audio

And I have a trigger that has

playMusic "intro";

Nothing plays, I also added a

hint "Enter"

To the trigger to make sure you enter.

The hint shows up but the music doesn't play, any help?

UPDATE: I got music to work, however, it just seems to like... only play when it feels, like sometimes it'll play and the hint will show up, othertimes nothing happens.

Ideas?

Edited by rwake345
update

Share this post


Link to post
Share on other sites

Okay, I kinda figured it was an ArmA bug, maybe it'll be fixed when beta releases.

Share this post


Link to post
Share on other sites

Have you tried using playSound instead?

Share this post


Link to post
Share on other sites

Have you tried: Note the tracks[]= and the first \ in the sound[]= path

class CfgMusic
{
    tracks[]={introSong,outroSong};

    class introSong
	{
 		name = "introSong";
 		sound[] = {"\sound\introSong.ogg", db+0, 1.0};
	};
    class outroSong
	{
	 	name = "outroSong";
 		sound[] = {"\sound\introSong.ogg", db+0, 1.0};
	};
};

Edited by tomturner

Share this post


Link to post
Share on other sites

Going to confirm this so no one gets confused, but playMusic is not broken.

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  

×