SlashCo Wiki

SlashCo.AudioSystem.SetGroupVolume

  SlashCo.AudioSystem.SetGroupVolume( string groupName, number groupVolume, number lerpTime, table or Entity sendToEntity )

Description

Fades the given group of sounds to the given volume over the specified time

This function is currently not used in the game mode, and it's unknown if it works or if it's broken.

Arguments

1string groupName

The sound identifier

2number groupVolume

The target volume to fade to

3number lerpTime

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

4table or Entity sendToEntity

The Player or table of players to send this to.

This argument only works serverside!