# Pause Sound Channel

Grammarpause|Pause/Unpause channel channel for players
FlagsNative | Action

Pauses all sounds in a sound channel for the specified player group.

# Arguments

Returns — void

native void SoundChannelPause(
	playergroup players,
	int channel,
	bool pause,
);

Category: Sound / Sound Channels

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:9893

    SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryOther, 100.0, 3.0);
    SoundChannelStop(PlayerGroupAll(), c_soundCategoryMusic);
    SoundChannelPause(PlayerGroupAll(), c_soundCategoryMusic, false);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZCampaignIntroMusic", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    DialogControlFadeTransparency(gv_campaignIntroPanel, PlayerGroupAll(), 3.0, 0.0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2mapMapScript.galaxy:9893

    SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryOther, 100.0, 3.0);
    SoundChannelStop(PlayerGroupAll(), c_soundCategoryMusic);
    SoundChannelPause(PlayerGroupAll(), c_soundCategoryMusic, false);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZCampaignIntroMusic", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    DialogControlFadeTransparency(gv_campaignIntroPanel, PlayerGroupAll(), 3.0, 0.0);