• 0
FlamingCombo

Restart Sound

Question

6 answers to this question

Advertisement
  • 0
40 minutes ago, FlamingCombo said:

I’m using that script right now actually but where do I upload a sound? 

In the onload.sqf file you got in the 5 line this: 

playSound ["air_raid", true];

"air_raid" is the sound. You can use the sound file just by name from arma or you add some sound with your description.ext in your mission file.

little example for the description:

class CfgSounds
{
	sounds[] = {};
	class restart
	{
		name = "restart";
		sound[] = {"\addons\restart_warning.ogg", 0.5, 1};
		titles[] = {};
	};
};

in my example you have to change the line now to 

playSound ["restart", true];

 

Share this post


Link to post
Share on other sites
  • 0
8 hours ago, WhiteBl00d said:

In the onload.sqf file you got in the 5 line this: 


playSound ["air_raid", true];

"air_raid" is the sound. You can use the sound file just by name from arma or you add some sound with your description.ext in your mission file.

little example for the description:


class CfgSounds
{
	sounds[] = {};
	class restart
	{
		name = "restart";
		sound[] = {"\addons\restart_warning.ogg", 0.5, 1};
		titles[] = {};
	};
};

in my example you have to change the line now to 


playSound ["restart", true];

 

Ok, I'll give it a try Thanks!

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.