ambient_music
ambient_music
is a point entity available in Left 4 Dead 2.
Class hierarchy |
---|
CAmbientMusic |
It is used to play L4D specific audio in the music layer, overriding music queued by the AI Director.
Keyvalues
- Name
(targetname)
<string> - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Sound Name
(message)
<sound> - Name of the GameSound entry to play.
Inputs
PlaySound
- Starts the sound.
StopSound
- Stops the sound if it is playing.