Ambient music: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleanup)
(Added Category: Sound System)
Line 19: Line 19:
== Outputs ==
== Outputs ==
{{O Targetname}}
{{O Targetname}}
[[Category:Sound System]]

Revision as of 05:40, 13 June 2011

Stub

This article or section is a stub. You can help by expanding it.

Template:L4d2 point

Entity description

Ambient generic.png

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

Keyvalues

Sound Name ([todo internal name (i)]) <sound>
Name of the GameSound entry to play.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

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


Outputs