Jump to content

Sound Ideas, but problems..


Recommended Posts

Posted

Hey all, im currently adding things to a race gamemode, but i want to play a sound when just is 1 player alive, but if map have any song playing would sound both...

If use getElementsByType("sound") will mute the sound that i want to play, any idea??

"El conocimiento jamás debe detenerse, por que es lo único que nos salvará cuando no nos quede más".

Att: -|TG|-Mister[Q]<.

Posted

Basically you would mute every sound that way.

Remember to save them and play them again later tho

My ingame nick is ~HyPeX~

BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager

gKhdyRJ.png

Posted

But if they start with map resource, how can i down volume?

Just like setting their volume 0, play the desired sound and then when it stops, up volume(back to normal)

(Sorry for my extra-bad english)

"El conocimiento jamás debe detenerse, por que es lo único que nos salvará cuando no nos quede más".

Att: -|TG|-Mister[Q]<.

Posted

use the event:

  
"onClientSoundStarted" 
  

to get and store the sound element when the map's song starts playing

and then handle it as you'd like.

signatures.php?user=TIM3&combo=69&bg=1

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.
×
×
  • Create New...