Jump to content
Sign in to follow this  
Goro

Problems with playsound and titletext

Recommended Posts

Hi. Whenever I fade my screen by the titletext command, playsound breaks the effect. Any ideas on how to fix that?

Share this post


Link to post
Share on other sites

This post is so old that you probably won't need the answer anymore, but for anyone with the same problem, here's the solution.

 

In the description.ext, you have the script for sounds, which looks like this

 

class CfgRadio
{
	sounds[] = {};
	class RadioMsg1
	{
		name = "";
		sound[] = {"\sound\filename1.ogg", db-100, 1.0};
	         titles[] = {0,""};
	};
};

 

The problem is the " titles[] = {0,""}; " part. Just delete the 0,"", so it looks like

titles[] = {};

 

Then the title won't disrupt your titleText

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  

×