Playing automaticly a sound


09-12-2003, 08:48 AM
Hi,

i want to play automaticly a sound file, but how to do it in my map ??

Preview of dod_bloody (http://bloody.sbgit.com/preview/dod_bloody_preview.zip)
(it's not finish but playable)

Bloody

09-12-2003, 12:04 PM
what do you mean exactly?

do you want a sound file to be played throughout the level, or do you want a sound to be played when a player does something specific or what?

09-13-2003, 12:32 AM
Sorry for my bad english!

I want that a sound file be played sometimes (Stuka attack) without the player has to do anything.

Bloody

2ltben
09-13-2003, 08:45 PM
So, after a certain amount of time it just kicks in? I suggest setting up a func_button 1 x 1 unit under the first spawn, set it to activate when touched, and link it to a multimanager. Set it to an ambient_generic that plays after a certain amount of time by adding a new key to the MM. Until key put the ambient_generic's name, and under value the time in seconds you want it to start to play(you can use decimals).

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.