Ambient music: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Cleanup)
Line 1: Line 1:
{{l4d2 point|ambient_music}} It is used to play L4D specific audio in the music layer, overriding music queued by the [[info_director|AI Director]].
{{stub}}
{{stub}}
==KeyValues==
*{{KV Targetname}}
{{l4d2 point|ambient_music}}
*{{ScrollBox|title=message|
 
; Sound Name <[[sound]]>
== Entity description ==
: Name of the GameSound [[Soundscripts|entry]] to play.
[[File:ambient_generic.png|left|link=]]
}}
It is used to play L4D specific audio in the music layer, overriding music queued by the [[info_director|AI Director]].
==Inputs==
{{clr}}
 
== Keyvalues ==
{{KV|Sound Name|sound|Name of the GameSound entry to play. }}
{{KV Targetname}}
 
== Inputs ==
{{IO|PlaySound|Starts the sound.}}
{{IO|StopSound|Stops the sound if it is playing.}}
{{I Targetname}}
{{I Targetname}}
{{ScrollBox|title=AmbientMusic|
 
; <code>Playsound</code>
== Outputs ==
: Starts the sound.
; <code>Stopsound</code>
: Stops the sound if it is playing.
}}
==Outputs==
{{O Targetname}}
{{O Targetname}}
==See also==
==External links==
[[category:Left 4 Dead 2]]

Revision as of 23:38, 10 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