# Set Sound Reverb (Deprecated)
Grammar — Set sound reverb to reverb over duration seconds (Ambient: ambient, Global: global)
Flags —Native
|Action
|Hidden
Sets sound reverb.
# Arguments
string
<gamelink::Reverb> — Reverbfixed
— Durationbool
— Ambientbool
— Global
Returns — void
native void SoundSetReverb(
string inReverbLink,
fixed inDuration,
bool inAmbient,
bool inGlobal,
);
# Related
Category: Sound / Deprecated
- Set Sound Reverb (Deprecated) —
void
— SoundSetReverb - Play Sound Scene File (Deprecated) —
void
— SoundPlaySceneFile - Play Sound Scene (Deprecated) —
void
— SoundPlayScene - Play Sound (Deprecated) —
void
— SoundPlay - Play Sound On Unit (Deprecated) —
void
— SoundPlayOnUnit - Play Sound At Point (Deprecated) —
void
— SoundPlayAtPoint
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:7666
// Implementation
SoundSetReverb("Reverb_StoryModeTest", 0.0, false, false);
autoD1937875_val = lp_room;
if (autoD1937875_val == ge_RoomID_RoomArmory) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19829
gf_RemoveVisibleUnit(false, gv_armoryDoor);
libCamp_gf_ChangeAmbience("HyperionArmoryAmbience");
SoundSetReverb("Reverb_HyperionArmory", 0.0, true, false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19860
libNtve_gf_TurnAnimationPropertiesOn(libNtve_gf_MainActorofUnit(UnitFromId(1026)), "Cover");
libCamp_gf_ChangeAmbience("HyperionBridgeAmbienceLoop");
SoundSetReverb("Reverb_HyperionBridge", 0.0, true, false);
gf_CreateBridgeBackgroundSound();
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19930
gf_CreateCantinaBackgroundSound();
libCamp_gf_ChangeAmbience("Ambience_HyperionCantina");
SoundSetReverb("Reverb_HyperionCantina", 0.0, true, false);
gf_MuteJukebox(false, gv_cantinaJukeboxID);
TriggerExecute(gt_TVNewsCantinaAsyncPreload, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19984
gf_CharActorAnimation(true, true, true);
libCamp_gf_ChangeAmbience("Ambience_CharSet");
SoundSetReverb("Reverb_CharBattlefield", 0.0, true, false);
gf_CreateCharBackgroundSounds();
TriggerExecute(gt_TVNewsCharAsyncPreload, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20125
gf_LabActorAnimation(true, true, true);
libCamp_gf_ChangeAmbience("Ambience_HyperionLaboratory");
SoundSetReverb("Reverb_HyperionLaboratory", 0.0, true, false);
gf_TurnLabBackgroundSoundOnOff(true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20182
gf_PreparePinboard(ge_Pinboard_PBMarSara);
libCamp_gf_ChangeAmbience("Ambience_MarSaraBarV1");
SoundSetReverb("Reverb_MarSaraBar", 0.0, true, false);
gf_TurnMarSaraBarBackgroundSoundOnOff(true);
gf_MuteJukebox(false, gv_marSaraJukeboxID);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:7666
// Implementation
SoundSetReverb("Reverb_StoryModeTest", 0.0, false, false);
autoD1937875_val = lp_room;
if (autoD1937875_val == ge_RoomID_RoomArmory) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19829
gf_RemoveVisibleUnit(false, gv_armoryDoor);
libCamp_gf_ChangeAmbience("HyperionArmoryAmbience");
SoundSetReverb("Reverb_HyperionArmory", 0.0, true, false);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19860
libNtve_gf_TurnAnimationPropertiesOn(libNtve_gf_MainActorofUnit(UnitFromId(1026)), "Cover");
libCamp_gf_ChangeAmbience("HyperionBridgeAmbienceLoop");
SoundSetReverb("Reverb_HyperionBridge", 0.0, true, false);
gf_CreateBridgeBackgroundSound();
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19930
gf_CreateCantinaBackgroundSound();
libCamp_gf_ChangeAmbience("Ambience_HyperionCantina");
SoundSetReverb("Reverb_HyperionCantina", 0.0, true, false);
gf_MuteJukebox(false, gv_cantinaJukeboxID);
TriggerExecute(gt_TVNewsCantinaAsyncPreload, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19984
gf_CharActorAnimation(true, true, true);
libCamp_gf_ChangeAmbience("Ambience_CharSet");
SoundSetReverb("Reverb_CharBattlefield", 0.0, true, false);
gf_CreateCharBackgroundSounds();
TriggerExecute(gt_TVNewsCharAsyncPreload, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:20125
gf_LabActorAnimation(true, true, true);
libCamp_gf_ChangeAmbience("Ambience_HyperionLaboratory");
SoundSetReverb("Reverb_HyperionLaboratory", 0.0, true, false);
gf_TurnLabBackgroundSoundOnOff(true);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:20182
gf_PreparePinboard(ge_Pinboard_PBMarSara);
libCamp_gf_ChangeAmbience("Ambience_MarSaraBarV1");
SoundSetReverb("Reverb_MarSaraBar", 0.0, true, false);
gf_TurnMarSaraBarBackgroundSoundOnOff(true);
gf_MuteJukebox(false, gv_marSaraJukeboxID);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8831
FogSetStartHeight(0.0);
EnvironmentShow(c_environmentAll, false);
SoundSetReverb("Reverb_EggRoom", 1.0, true, true);
libSwaC_gv_zS_ArmyCustomEvolutionRoomOpened = true;
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeMenuBar, false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3097
// Implementation
lib281DEC45_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Game, 1.5);
SoundSetReverb("Off", 1.0, true, true);
DialogSetSubtitlePositionOverride(c_invalidDialogId);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3120
void lib281DEC45_gf_ZSS_StopActivityScriptedScene () {
// Implementation
SoundSetReverb("Off", 1.0, true, true);
lib281DEC45_gf_StoryCinematicMode(false);
lib281DEC45_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Game, 1.5);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3319
if (auto0D8868E4_val == lib281DEC45_ge_Rooms_StoryRoomMainSet) {
lib281DEC45_gf_ZSS_LoadSetModels(true);
SoundSetReverb("Reverb_LeviathanMouth01", 1.0, true, true);
libSwaC_gf_DispatchStoryEvent(libSwaC_ge_ZS_Event_StoryUtilPrepareMainSet, "", "", false);
UISetWorldVisible(PlayerGroupAll(), true);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3327
UnitLoadModel(lib281DEC45_gf_CharacterUnit("Evolution Master"));
lib281DEC45_gf_ZSS_ApplyAliases();
SoundSetReverb("Reverb_EggRoom", 1.0, true, true);
UISetWorldVisible(PlayerGroupAll(), true);
lib281DEC45_gf_ZSS_SetUnitShowHide(false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3382
// Implementation
SoundSetReverb("Off", 1.0, true, true);
auto2C44F216_val = lib281DEC45_gf_CurrentRoom();
if (auto2C44F216_val == lib281DEC45_ge_Rooms_StoryRoomMissionScreen) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1844
// Implementation
libVCST_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Game, 1.5);
SoundSetReverb("Off", 1.0, true, true);
DialogSetSubtitlePositionOverride(c_invalidDialogId);
libVCST_gf_PS_AmbientSetIsInConvoState(false);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1870
// Automatic Variable Declarations
// Implementation
SoundSetReverb("Off", 1.0, true, true);
libVCST_gf_StoryCinematicMode(false);
libVCST_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Game, 1.5);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1958
if ((lp_room != libVCST_gv_pS_CurrentRoom)) {
StorySetChange();
SoundSetReverb("Off", 1.0, true, true);
libVCST_gf_ShowHideAmbientScenesInRoom(false, libVCST_gf_CurrentRoom());
libVCST_gf_HideBackground(libVCST_gf_CurrentRoom());
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1652
// Implementation
libNCST_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Game, 1.5);
SoundSetReverb("Off", 1.0, true, true);
DialogSetSubtitlePositionOverride(c_invalidDialogId);
libNCST_gf_NS_AmbientSetIsInConvoState(false);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1678
void libNCST_gf_NS_StopActivityScriptedScene () {
// Implementation
SoundSetReverb("Off", 1.0, true, true);
libNCST_gf_StoryCinematicMode(false);
libNCST_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Game, 1.5);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1761
if ((lp_room != libNCST_gv_nS_CurrentRoom)) {
StorySetChange();
SoundSetReverb("Off", 1.0, true, true);
libNCST_gf_ShowHideAmbientScenesInRoom(false, libNCST_gf_CurrentRoom());
libNCST_gf_HideBackground(libNCST_gf_CurrentRoom());