FadeSound (script event)
From modwiki
Description
Fades the sound on this entity to a new level over a period of time.
Usage
In your script type...
void fadeSound( float channel, float newLevel, float fadeTime )
Parameters
- [channel] - The channel to fade.
- [newLevel] - The level to fade to.
- [fadeTime] - The duration of the fade.
Examples
$my_entity.fadeSound(SND_CHANNEL_ANY, 0, 10);
Notes
This script event does not return any values.
Use SND_CHANNEL_ANY for all currently playing sounds.

