# Stop Sound Channel

Grammar — Stop channel channel for players
FlagsNative | Action

Stops all sounds in a sound channel for the specified players.

# Arguments

  • playergroup — Players
  • int [ preset::SoundChannel ] — Channel

Returns — void

native void SoundChannelStop(
	playergroup players,
	int channel,
);

Category: Sound / Sound Channels

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L6327
SoundChannelStop(PlayerGroupAll(), c_soundCategoryCombat)
// L9892
SoundChannelStop(PlayerGroupAll(), c_soundCategoryMusic)
// L6327
SoundChannelStop(PlayerGroupAll(), c_soundCategoryCombat)
// L9892
SoundChannelStop(PlayerGroupAll(), c_soundCategoryMusic)
// L9772
SoundChannelStop(PlayerGroupAll(), c_soundCategoryOther)
// L7782
SoundChannelStop(PlayerGroupAll(), c_soundCategoryOther)
// L9772
SoundChannelStop(PlayerGroupAll(), c_soundCategoryOther)
// L7782
SoundChannelStop(PlayerGroupAll(), c_soundCategoryOther)

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L1468
SoundChannelStop(PlayerGroupAll(), c_soundCategoryUI)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L18521
SoundChannelStop(PlayerGroupSingle(lv_player), c_soundCategoryVoice)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L9458
SoundChannelStop(PlayerGroupAll(), c_soundCategoryUI)