I was able to play a .wav sound at the beginning of a game by linking it to a sound (250 mm cannon). I then tried to setup a trigger where if a player types an exact string, such as "test", would activate a .wav sound would play. The sounds don't work. Interesting to note that a .ogg sound file did not work when played at map initialization but a .wav did. Is there something I'm missing to play sounds in game. I'm trying to type something to activate a sound essentially but it doesn't want to play anything.
Event
Game - Player Any Player types a chat message containing "test", matching Exactly
Action
Sound - Play (Sound) for (All players) (at 100.0% volume, skip the first 0.0 seconds)
That is what I tried doing and it wouldn't play the sound upon typing the string I specified. Interesting to note that .wav would play at map initialization but converting the sound to .ogg and it would no longer play in game. I'm wondering if I need a different sound format to play sounds on command?
Ummm... I tried to make a map example... but it seems like only the wav file wants to play. The ogg doesn't want to..even from the import window. I don't know... This is strange cause I used to make ogg work in one of my map and I haven't done anything special... Guess you should just use wav for now..
I was able to play a .wav sound at the beginning of a game by linking it to a sound (250 mm cannon). I then tried to setup a trigger where if a player types an exact string, such as "test", would activate a .wav sound would play. The sounds don't work. Interesting to note that a .ogg sound file did not work when played at map initialization but a .wav did. Is there something I'm missing to play sounds in game. I'm trying to type something to activate a sound essentially but it doesn't want to play anything.
A simple "Play Sound" trigger should make it?
Event
Game - Player Any Player types a chat message containing "test", matching Exactly
Action
Sound - Play (Sound) for (All players) (at 100.0% volume, skip the first 0.0 seconds)
Working on projects:
That is what I tried doing and it wouldn't play the sound upon typing the string I specified. Interesting to note that .wav would play at map initialization but converting the sound to .ogg and it would no longer play in game. I'm wondering if I need a different sound format to play sounds on command?
@CaptainIndustry: Go
Ummm... I tried to make a map example... but it seems like only the wav file wants to play. The ogg doesn't want to..even from the import window. I don't know... This is strange cause I used to make ogg work in one of my map and I haven't done anything special... Guess you should just use wav for now..
Working on projects: