SlashCo Wiki

SlashCo.AudioSystem.DestroyChannel

  SlashCo.AudioSystem.DestroyChannel( IGModAudioChannel channel, number fadeOutTime = nil, function callback = nil )

Description

Destroys the given channel.

Arguments

1IGModAudioChannel channel

The channel to destory

2number fadeOutTime = nil

Time in seconds on how long it takes for the channel to fade out before it's destroyed

3function callback = nil

The callback function after deletion

Function argument(s):
1table channelData -

The channel data the channel had

Function return argument(s):