Call of Duty 4: Scripting Reference - Sound::AmbientStop: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
(New page: {{Function |Version=4 |Name=AmplifyStop() |Module=Sound |Available=SP Only |Summary=Disables amplification if active (see amplify). |Call_on |Example=<pre>AmplifyStop();</pre> }})
 
No edit summary
 
Line 1: Line 1:
{{Function
{{Function
|Version=4
|Version=4
|Name=AmplifyStop()
|Name=AmbientStop( &lt;fadetime&gt; )
|Module=Sound
|Module=Sound
|Available=SP Only
|Available
|Summary=Disables amplification if active (see amplify).
|Summary=Stops all ambient sounds (excluding the music track).
|Call_on
|Call_on
|Example=<pre>AmplifyStop();</pre>
|Example=<pre>AmbientStop( 2 );</pre>
|Required_args=
|Optional_args=
# &lt;fadetime&gt; Fade out time in seconds. If not used then the sounds will stop immediately
}}
}}

Latest revision as of 02:41, 1 August 2009