MisterQuestions Posted January 24, 2015 Share Posted January 24, 2015 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?? Link to comment
.:HyPeX:. Posted January 24, 2015 Share Posted January 24, 2015 Basically you would mute every sound that way. Remember to save them and play them again later tho Link to comment
MisterQuestions Posted January 25, 2015 Author Share Posted January 25, 2015 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) Link to comment
rtx Posted January 25, 2015 Share Posted January 25, 2015 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. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now