HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem playing sounds

04-11-2008, 11:27 AM#1
dabest2503
Hi. Im trying to make triggers that will play sounds whenever a player types in specific words.

Basically, I can't seem to do so.
Trigger:
Play evil laugh
Collapse Events
Player - Player 1 (Red) types a chat message containing -evil laugh as An exact match
Conditions
Collapse Actions
Sound - Play Sound
I was trying to make it play SargerasLaugh.wav but I couldnt find a way to make it play the sound. There is simply no option to do so.

I also want War2IntroMusic to be my game music. But, I had to export then import it to add it to my map. But, it gave my map extra 500kb.

Someone please tell me how to get them both fixed.
04-11-2008, 11:39 AM#2
Fireeye
To the 1st point, did you set the sound to a variable in the sound editor?
If not, press F5, search for your sound, then right click on it and finally click 'Use as sound'.
Afterwards you'll find a variable under the 'Play Sound' action.
To the 2nd point make the same as previous but click 'Use as music' instead of 'Use as sound' and play it with the 'Play Music' action.
04-11-2008, 02:49 PM#3
dabest2503
Wait..
Trigger:
Play evil laugh
Collapse Events
Player - Player 1 (Red) types a chat message containing laugh as An exact match
Conditions
Collapse Actions
Sound - Clear the music list
Sound - Play SargerasLaugh <gen>
It doesn't play the sound.

I tried playing the sound at a point on the map, but players who are far away from the selected point will not be able to hear the sound.

I want to make it so that when the sound is played, players from anywhere on the map can hear the sound. But the trigger above doesn't work.

Help please.