SlashCo Wiki

SlashCo:AudioSystem:PlaySound:[group]

  SlashCo:AudioSystem:PlaySound:[group]( SoundData soundData, IGModAudioChannel channel )

Description

Called right after SlashCo.AudioSystem.PlaySound created a channel for a sound whose soundData.group field is set.
[group] is replaced with the actual group value, e.g. SlashCo:AudioSystem:PlaySound:Generator or SlashCo:AudioSystem:PlaySound:Helicopter.

Arguments

1SoundData soundData

The sound data table that was passed to SlashCo.AudioSystem.PlaySound.

2IGModAudioChannel channel

The created sound channel.