Ambient music: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Initial creation of article on func_timescale)
m (Undo revision 133650 by ThaiGrocer (Talk))
Line 9: Line 9:
==Inputs==
==Inputs==
{{I Targetname}}
{{I Targetname}}
{{ScrollBox|title=TimeScale|
{{ScrollBox|title=AmbientMusic|
; <code>Start</code>
; <code>Playsound</code>
: Start blending to the desired timescale.
: Starts the sound.
; <code>Stop</code>
; <code>Stopsound</code>
: Stop and blend back to the default timescale (1.0f).
: Stops the sound if it is playing.
; <code>Reset</code>
: Reset immediately to normal timescale (1.0f).
}}
}}
==Outputs==
==Outputs==

Revision as of 13:37, 22 May 2010

Template:L4d2 point It is used to play L4D specific audio in the music layer.

Stub

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

KeyValues

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

  • message:
Sound Name <sound>
Name of the GameSound entry to play.

Inputs

AmbientMusic:
Playsound
Starts the sound.
Stopsound
Stops the sound if it is playing.

Outputs

See also

External links