Ambient music: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Thunder4ik (talk | contribs) m (clean up, replaced: See Also → See also, {{Language subpage → {{langsp) |
||
Line 1: | Line 1: | ||
{{ | {{langsp}} | ||
{{CD|CAmbientMusic}} | {{CD|CAmbientMusic}} | ||
[[File:ambient_generic.png|left|link=]] | [[File:ambient_generic.png|left|link=]] | ||
Line 15: | Line 15: | ||
[[Category:Sound System]] | [[Category:Sound System]] | ||
== See | == See also == | ||
* [[ambient_generic]] | * [[ambient_generic]] | ||
* [[env_soundscape]] | * [[env_soundscape]] |
Revision as of 01:23, 4 January 2024
![]() |
---|
CAmbientMusic |

It is used to play L4D specific audio in the music layer, overriding music queued by the AI Director.
Keyvalues
- Sound Name (message) <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
ortarget
).
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.