SlashCo Wiki

SlashCo.AudioSystem.FadeSound

  SlashCo.AudioSystem.FadeSound( string identifier, number fadeTime = 0, number targetVolume )

Description

Fades the given sound to the given volume over the specified time

Arguments

1string identifier

The sound identifier

2number fadeTime = 0

How many seconds it takes for it to fade to the target volume

3number targetVolume

The target volume to fade to