Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

Ambient music/en

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CAmbientMusic
CPointEntity
CBaseEntity

It is used to play L4D specific audio in the music layer, overriding music queued by the AI Director.


Keyvalues

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Sound Name (message) <sound>
Name of the GameSound entry to play.

Inputs

PlaySound
Starts the sound.
StopSound
Stops the sound if it is playing.

See also