Ambient music: Difference between revisions

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

Revision as of 13:34, 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

TimeScale:
Start
Start blending to the desired timescale.
Stop
Stop and blend back to the default timescale (1.0f).
Reset
Reset immediately to normal timescale (1.0f).

Outputs

See also

External links