# Wait For Sound
Grammar — Wait until sound playback is offset seconds from the offsetType of the sound
Flags —Native
|Action
Waits for a sound is a certain amount of seconds from the offset type.
# Arguments
sound
— Soundfixed
— Offsetint
<preset::SoundOffset> — Offset Type
Returns — void
native void SoundWait(
sound s,
fixed offset,
int offsetType,
);
# Related
Category: Sound / Sounds
- Play Sound On Unit —
void
— SoundPlayOnUnitForPlayer - Play Sound At Point —
void
— SoundPlayAtPointForPlayer - Play Sound —
void
— SoundPlayForPlayer - Last Played Sound —
sound
— SoundLastPlayed - Pause Sound —
void
— SoundPause - Stop Sound —
void
— SoundStop - Skip To Sound Offset —
void
— SoundSetOffset - Move Sound —
void
— SoundSetPosition - Wait For Sound —
void
— SoundWait - Set Sound Volume —
void
— SoundSetVolume - Stop All Trigger Sounds —
void
— SoundStopAllTriggerSounds - Stop All Model Sounds —
void
— SoundStopAllModelSounds - Set Sound Listener Gender —
void
— SoundSetListenerGender
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:706
TriggerQueueEnter();
SoundPlay(SoundLink("THanson03BCivilian100023", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueExit();
libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:715
TriggerQueueEnter();
SoundPlay(SoundLink("THanson03BCivilian400041", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueExit();
libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:724
TriggerQueueEnter();
SoundPlay(SoundLink("THanson03BCivilian200015", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueExit();
libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1388
TriggerEnable(TriggerGetCurrent(), false);
SoundPlay(SoundLink("TUIWarningPing", 0), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
Wait(6.0, c_timeGame);
TriggerEnable(TriggerGetCurrent(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3224
UnitIssueOrder(UnitFromId(2), OrderTargetingPoint(AbilityCommand("OdinNuclearStrike", 0), RegionGetCenter(RegionFromId(20))), c_orderQueueReplace);
SoundPlay(SoundLink("Alert_TerranCalldownLaunch", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
Wait(1.0, c_timeGame);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:12227
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
SoundPlay(SoundLink("TUIWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
// Transmission - SoundLink("THorner05SAdjutant00014", -1)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner05SAdjutant00014", c_soundIndexAny), c_transmissionDurationAdd, 0.0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3014
SoundPlay(SoundLink("UI_TerranKlaxonAlert", 0), PlayerGroupAll(), 100.0, 0.0);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(92), "BullhornLights", c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(92), "BullhornLights", c_animNameDefault, "Stand", c_animFlagPlayForever, c_animTimeDefault);
Wait(10.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:14586
SoundPlay(gv_jukeboxes[lv_jukeboxID].lv_tracks[gv_jukeboxes[lv_jukeboxID].lv_playback.lv_trackCurrent], PlayerGroupAll(), lv_volume, lv_offset);
gv_jukeboxes[lv_jukeboxID].lv_playback.lv_music = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerDebugOutput(1, (StringExternal("Param/Value/D7DC7C30") + IntToText(lv_sessionID) + StringExternal("Param/Value/72B22E0C") + IntToText(gv_jukeboxes[lv_jukeboxID].lv_playback.lv_sessionID)), false);
if ((lv_sessionID != gv_jukeboxes[lv_jukeboxID].lv_playback.lv_sessionID)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:27186
gv_sceneSkipped = true;
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
SoundWait(gv_sceneSound, 0.0, c_soundOffsetEnd);
gv_sceneSkipped = false;
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:3009
TriggerExecute(gt_CameraShakeWeak, true, false);
SoundPlay(SoundLink("UI_TerranKlaxonAlert", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 1.0, c_soundOffsetEnd);
TriggerExecute(gt_LavaSurgeMusic, true, false);
TriggerQueueEnter();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:3306
if ((libNtve_gf_UnitGroupIsDead(gv_toshReapers) == false)) {
SoundPlay(SoundLink("Reaper_What", 1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:1271
TriggerExecute(gt_ProtossAggroBullies, true, false);
SoundPlay(SoundLink("IncomingTransmission", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:1833
SoundPlay(SoundLink("IncomingTransmission", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:5368
SoundPlay(SoundLink("Doodad_TrainDockingDoorOpen", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundPlay(SoundLink("SetPiece_MarSaraBarDoor_Open", -1), PlayerGroupAll(), 100.0, 0.0);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:9909
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(406), 0.0, -1, 10, true);
SoundPlay(SoundLink("Reaper_D8ChargeAttackImpact", 2), PlayerGroupAll(), 300.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerExecute(gt_CinematicCameraShakeNuke, true, false);
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(2183), 18.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10694
Wait(3.0, c_timeGame);
SoundPlay(SoundLink("Reaper_D8ChargeAttackImpact", 2), PlayerGroupAll(), 300.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerExecute(gt_CinematicCameraShakeNuke, true, false);
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(2241), 10.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:11664
Wait(1.0, c_timeGame);
SoundPlay(SoundLink("Reaper_D8ChargeAttackImpact", 2), PlayerGroupAll(), 300.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TextTagDestroy(lv_pHTextTag);
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(2297), 10.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:2533
SoundPlayAtPoint(SoundLink("Mutalisk_Attack", 9), PlayerGroupAll(), UnitGetPosition(gv_tHEONEZERATUL), 0.0, 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueEnter();
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:3347
TriggerEnable(gt_AirAssaultEncircleGroundAI, true);
SoundPlayAtPoint(SoundLink("Mutalisk_Attack", 9), PlayerGroupAll(), UnitGetPosition(gv_tHEONEZERATUL), 0.0, 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueEnter();
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:7600
else {
}
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
Wait(RandomFixed(0.75, 1.5), c_timeReal);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:706
TriggerQueueEnter();
SoundPlay(SoundLink("THanson03BCivilian100023", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueExit();
libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:715
TriggerQueueEnter();
SoundPlay(SoundLink("THanson03BCivilian400041", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueExit();
libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:724
TriggerQueueEnter();
SoundPlay(SoundLink("THanson03BCivilian200015", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueExit();
libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:1388
TriggerEnable(TriggerGetCurrent(), false);
SoundPlay(SoundLink("TUIWarningPing", 0), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
Wait(6.0, c_timeGame);
TriggerEnable(TriggerGetCurrent(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:3224
UnitIssueOrder(UnitFromId(2), OrderTargetingPoint(AbilityCommand("OdinNuclearStrike", 0), RegionGetCenter(RegionFromId(20))), c_orderQueueReplace);
SoundPlay(SoundLink("Alert_TerranCalldownLaunch", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
Wait(1.0, c_timeGame);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:12227
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
SoundPlay(SoundLink("TUIWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
// Transmission - SoundLink("THorner05SAdjutant00014", -1)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner05SAdjutant00014", c_soundIndexAny), c_transmissionDurationAdd, 0.0, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:3014
SoundPlay(SoundLink("UI_TerranKlaxonAlert", 0), PlayerGroupAll(), 100.0, 0.0);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(92), "BullhornLights", c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(92), "BullhornLights", c_animNameDefault, "Stand", c_animFlagPlayForever, c_animTimeDefault);
Wait(10.0, c_timeReal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:14586
SoundPlay(gv_jukeboxes[lv_jukeboxID].lv_tracks[gv_jukeboxes[lv_jukeboxID].lv_playback.lv_trackCurrent], PlayerGroupAll(), lv_volume, lv_offset);
gv_jukeboxes[lv_jukeboxID].lv_playback.lv_music = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerDebugOutput(1, (StringExternal("Param/Value/D7DC7C30") + IntToText(lv_sessionID) + StringExternal("Param/Value/72B22E0C") + IntToText(gv_jukeboxes[lv_jukeboxID].lv_playback.lv_sessionID)), false);
if ((lv_sessionID != gv_jukeboxes[lv_jukeboxID].lv_playback.lv_sessionID)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:27186
gv_sceneSkipped = true;
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
SoundWait(gv_sceneSound, 0.0, c_soundOffsetEnd);
gv_sceneSkipped = false;
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:3009
TriggerExecute(gt_CameraShakeWeak, true, false);
SoundPlay(SoundLink("UI_TerranKlaxonAlert", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 1.0, c_soundOffsetEnd);
TriggerExecute(gt_LavaSurgeMusic, true, false);
TriggerQueueEnter();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:3306
if ((libNtve_gf_UnitGroupIsDead(gv_toshReapers) == false)) {
SoundPlay(SoundLink("Reaper_What", 1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh02.sc2map — MapScript.galaxy:1271
TriggerExecute(gt_ProtossAggroBullies, true, false);
SoundPlay(SoundLink("IncomingTransmission", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh02.sc2map — MapScript.galaxy:1833
SoundPlay(SoundLink("IncomingTransmission", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:5368
SoundPlay(SoundLink("Doodad_TrainDockingDoorOpen", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundPlay(SoundLink("SetPiece_MarSaraBarDoor_Open", -1), PlayerGroupAll(), 100.0, 0.0);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:9909
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(406), 0.0, -1, 10, true);
SoundPlay(SoundLink("Reaper_D8ChargeAttackImpact", 2), PlayerGroupAll(), 300.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerExecute(gt_CinematicCameraShakeNuke, true, false);
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(2183), 18.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:10694
Wait(3.0, c_timeGame);
SoundPlay(SoundLink("Reaper_D8ChargeAttackImpact", 2), PlayerGroupAll(), 300.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerExecute(gt_CinematicCameraShakeNuke, true, false);
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(2241), 10.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:11664
Wait(1.0, c_timeGame);
SoundPlay(SoundLink("Reaper_D8ChargeAttackImpact", 2), PlayerGroupAll(), 300.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TextTagDestroy(lv_pHTextTag);
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(2297), 10.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:2533
SoundPlayAtPoint(SoundLink("Mutalisk_Attack", 9), PlayerGroupAll(), UnitGetPosition(gv_tHEONEZERATUL), 0.0, 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueEnter();
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:3347
TriggerEnable(gt_AirAssaultEncircleGroundAI, true);
SoundPlayAtPoint(SoundLink("Mutalisk_Attack", 9), PlayerGroupAll(), UnitGetPosition(gv_tHEONEZERATUL), 0.0, 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerQueueEnter();
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:7600
else {
}
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
Wait(RandomFixed(0.75, 1.5), c_timeReal);
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:12031
autoAB1FD6CC_val = lv_p_DurationType;
if (autoAB1FD6CC_val == c_transmissionDurationAdd) {
SoundWait(lv_p_Sound, 0.0, c_soundOffsetEnd);
Wait(lv_p_Duration, c_timeReal);
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:12038
}
else if (autoAB1FD6CC_val == c_transmissionDurationSub) {
SoundWait(lv_p_Sound, lv_p_Duration, c_soundOffsetEnd);
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:845
SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryCombat, 20.0, 0.0);
SoundPlay(SoundLink("Alert_ZergCalldownLaunch", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryCombat, 100.0, 0.0);
TriggerExecute(gt_TransmissionNukeLaunchedQ, true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:3334
TriggerEnable(TriggerGetCurrent(), false);
SoundPlay(SoundLink("Zerg_BuildingMorphStart", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerEnable(TriggerGetCurrent(), true);
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:5185
GameSetLighting("StarshipDark", 1.0);
SoundPlay(SoundLink("Protoss_PowerDownLarge", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/D905C772"));
SoundPlay(SoundLink("TUIWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:5188
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/D905C772"));
SoundPlay(SoundLink("TUIWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TimerStart(gv_countdownTimer, gv_runoutTime, false, c_timeAI);
libSwaC_gf_TimerWindowCreate2(gv_countdownTimer, StringExternal("Param/Value/1893818B"), true, false, libSwaC_ge_CampaignTimerPositiveNegativeOptions_Negative);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:3352
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZKorhal01MusicEvent01_BackToHell", c_soundtrackCueAny, c_soundtrackIndexAny, false);
SoundPlay(SoundLink("IncomingTransmission", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libSwaC_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryCombat, 20.0, 0.15);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:6487
SoundPlay(SoundLink("ZergDropPod_Drop", -1), PlayerGroupAll(), RandomFixed(30.0, 40.0), 0.0);
gv_victoryPodSound = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundPlay(SoundLink("ZergDropPodImpact", -1), PlayerGroupAll(), RandomFixed(30.0, 40.0), 0.0);
gv_victoryPodSound = SoundLastPlayed();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:6245
SoundPlay(SoundLink("Psi_StructurePowerDown_Delay", -1), PlayerGroupAll(), 100.0, 0.0);
gv_midSound2 = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundPlay(SoundLink("PsiDecimator_ShieldRetreat", -1), PlayerGroupAll(), 100.0, 0.0);
gv_midFieldDropSound = SoundLastPlayed();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:6589
SoundPlay(SoundLink("Psi_StructurePowerUp", -1), PlayerGroupAll(), 100.0, 0.0);
gv_midFieldPowerupSound = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundPlay(SoundLink("PsiDecimator_ShieldGrow", -1), PlayerGroupAll(), 100.0, 0.0);
gv_midFieldRaiseSound = SoundLastPlayed();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:5661
SoundPlayOnUnit(SoundLink("Ultralisk_Roar", 0), PlayerGroupAll(), UnitFromId(380), 0.0, 100.0, 0.0);
SoundWait(SoundLastPlayed(), 1.5, c_soundOffsetEnd);
libSwaC_gf_SetAllSoundChannelVolumesCampaign(libSwaC_ge_VolumeChannelModeCampaign_Speech);
gf_WaitifCriticalTransmissionisinprogress();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:8124
Wait(1.0, c_timeGame);
SoundPlay(SoundLink("Umojan_Lab02Tram_docking", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerExecute(gt_ObjectiveDefendTheTramComplete, true, true);
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/966206AB"));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:845
SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryCombat, 20.0, 0.0);
SoundPlay(SoundLink("Alert_ZergCalldownLaunch", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryCombat, 100.0, 0.0);
TriggerExecute(gt_TransmissionNukeLaunchedQ, true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:3334
TriggerEnable(TriggerGetCurrent(), false);
SoundPlay(SoundLink("Zerg_BuildingMorphStart", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerEnable(TriggerGetCurrent(), true);
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:5185
GameSetLighting("StarshipDark", 1.0);
SoundPlay(SoundLink("Protoss_PowerDownLarge", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/D905C772"));
SoundPlay(SoundLink("TUIWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:5188
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/D905C772"));
SoundPlay(SoundLink("TUIWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TimerStart(gv_countdownTimer, gv_runoutTime, false, c_timeAI);
libSwaC_gf_TimerWindowCreate2(gv_countdownTimer, StringExternal("Param/Value/1893818B"), true, false, libSwaC_ge_CampaignTimerPositiveNegativeOptions_Negative);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map — MapScript.galaxy:3352
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZKorhal01MusicEvent01_BackToHell", c_soundtrackCueAny, c_soundtrackIndexAny, false);
SoundPlay(SoundLink("IncomingTransmission", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libSwaC_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryCombat, 20.0, 0.15);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map — MapScript.galaxy:6487
SoundPlay(SoundLink("ZergDropPod_Drop", -1), PlayerGroupAll(), RandomFixed(30.0, 40.0), 0.0);
gv_victoryPodSound = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundPlay(SoundLink("ZergDropPodImpact", -1), PlayerGroupAll(), RandomFixed(30.0, 40.0), 0.0);
gv_victoryPodSound = SoundLastPlayed();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:6245
SoundPlay(SoundLink("Psi_StructurePowerDown_Delay", -1), PlayerGroupAll(), 100.0, 0.0);
gv_midSound2 = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundPlay(SoundLink("PsiDecimator_ShieldRetreat", -1), PlayerGroupAll(), 100.0, 0.0);
gv_midFieldDropSound = SoundLastPlayed();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:6589
SoundPlay(SoundLink("Psi_StructurePowerUp", -1), PlayerGroupAll(), 100.0, 0.0);
gv_midFieldPowerupSound = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundPlay(SoundLink("PsiDecimator_ShieldGrow", -1), PlayerGroupAll(), 100.0, 0.0);
gv_midFieldRaiseSound = SoundLastPlayed();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:5661
SoundPlayOnUnit(SoundLink("Ultralisk_Roar", 0), PlayerGroupAll(), UnitFromId(380), 0.0, 100.0, 0.0);
SoundWait(SoundLastPlayed(), 1.5, c_soundOffsetEnd);
libSwaC_gf_SetAllSoundChannelVolumesCampaign(libSwaC_ge_VolumeChannelModeCampaign_Speech);
gf_WaitifCriticalTransmissionisinprogress();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:8124
Wait(1.0, c_timeGame);
SoundPlay(SoundLink("Umojan_Lab02Tram_docking", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
TriggerExecute(gt_ObjectiveDefendTheTramComplete, true, true);
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/966206AB"));
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:12017
SoundPlay(SoundLink("Cut_zerglings_tortured", 0), PlayerGroupAll(), 100.0, 0.0);
lib281DEC45_gv_zSS_EggRoomConvoSound = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.3, c_soundOffsetEnd);
}
else if ((ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00200")) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pcampaigntest.sc2map/MapScript.galaxy:2101
CinematicFade(true, 2.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
libVCMI_gf_PlaySoundCinematic(SoundLink("ArmoryscreentutorialAdjutant00001", 0), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libVCMI_gf_PlaySoundCinematic(SoundLink("Tosh03B_TerranNukeReady", 0), PlayerGroupAll(), 100.0, 0.0);
libVCMI_gf_PlaySoundCinematic(SoundLink("ResearchscreentutorialAdjutant00001", 0), PlayerGroupAll(), 100.0, 0.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pcampaigntest.sc2map/MapScript.galaxy:2105
libVCMI_gf_PlaySoundCinematic(SoundLink("ResearchscreentutorialAdjutant00001", 0), PlayerGroupAll(), 100.0, 0.0);
libVCMI_gf_PlaySoundCinematic(SoundLink("ChartutorialAdjutant00001", 0), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libVCMI_gf_AttachReticleEffectAndTextTagOnUnit(libVCMI_ge_CampaginReticleType_ProtossMainObjective, libVCMI_ge_CampaginReticleSize_Medium, null, UnitFromId(28), "Ref_Center");
gv_introHatchReticle = libNtve_gf_ActorLastCreated();
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pcampaigntest.sc2map — MapScript.galaxy:2101
CinematicFade(true, 2.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
libVCMI_gf_PlaySoundCinematic(SoundLink("ArmoryscreentutorialAdjutant00001", 0), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libVCMI_gf_PlaySoundCinematic(SoundLink("Tosh03B_TerranNukeReady", 0), PlayerGroupAll(), 100.0, 0.0);
libVCMI_gf_PlaySoundCinematic(SoundLink("ResearchscreentutorialAdjutant00001", 0), PlayerGroupAll(), 100.0, 0.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pcampaigntest.sc2map — MapScript.galaxy:2105
libVCMI_gf_PlaySoundCinematic(SoundLink("ResearchscreentutorialAdjutant00001", 0), PlayerGroupAll(), 100.0, 0.0);
libVCMI_gf_PlaySoundCinematic(SoundLink("ChartutorialAdjutant00001", 0), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libVCMI_gf_AttachReticleEffectAndTextTagOnUnit(libVCMI_ge_CampaginReticleType_ProtossMainObjective, libVCMI_ge_CampaginReticleSize_Medium, null, UnitFromId(28), "Ref_Center");
gv_introHatchReticle = libNtve_gf_ActorLastCreated();
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SoundLib.galaxy:471
if ((lv_callSoundLink != null) && (lv_responseSoundLink != null)) {
SoundPlayForPlayer(SoundLink(lv_callSoundLink, c_soundIndexAny), lp_allyPlayer, libCore_gv_playerGroupFromPlayer[lp_player], 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
SoundPlayForPlayer(SoundLink(lv_responseSoundLink, c_soundIndexAny), lp_player, libCore_gv_playerGroupFromPlayer[lp_player], 100.0, 0.0);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SoundLib.galaxy:939
if ((lv_announcerEvent == libCore_ge_AnnouncerVOEvents_LetTheBattleBegin)) {
SoundWait(lv_sound, 0.0, c_soundOffsetEnd);
Wait(0.0625, c_timeGame);
lv_it_SpeakingPlayer = 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SoundLib.galaxy:950
}
else if ((lv_announcerEvent == libCore_ge_AnnouncerVOEvents_GetReadyForBattle) && (libCore_gv_sYSGameMode != libCore_ge_GameModes_ArenaMode) && (libCore_gv_sYSGameMode != libCore_ge_GameModes_AttackDefend)) {
SoundWait(lv_sound, 0.0, c_soundOffsetEnd);
libSond_gf_HeroVOCheckForIntroLines(lv_player);
}
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:749
PlayerGroupAdd(libMSC2_gv_mMSC2VOSoundPlaying, lp_player);
SoundPlayForPlayer(lp_vOSound, c_maxPlayers, PlayerGroupSingle(lp_player), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
PlayerGroupRemove(libMSC2_gv_mMSC2VOSoundPlaying, lp_player);
return true;
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:574
for ( ; ( (auto9CEBDA15_ai >= 0 && lv_i <= auto9CEBDA15_ae) || (auto9CEBDA15_ai < 0 && lv_i >= auto9CEBDA15_ae) ) ; lv_i += auto9CEBDA15_ai ) {
SoundPlay(lv_soundsToPlay[lv_i], lp_players, lp_volume, 0.0);
SoundWait(SoundLastPlayed(), 0.25, c_soundOffsetEnd);
}
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:9900
libCOMI_gv_cM_HeroReviveQueue_ActiveListeners = true;
SoundPlayForPlayer(lp_soundLink, 1, lp_listeningPlayers, 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
Wait(lv_soundtaildelay, c_timeReal);
libCOMI_gv_cM_HeroReviveQueue_ActiveListeners = false;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:30570
libCOMI_gf_CM_CommanderVOSend(libCOOC_gf_CC_PlayerAlly(UnitGetOwner(EventUnit())), SoundLink("RaynorCommander_Hyperion", -1), PlayerGroupAll());
if ((libCOMI_gv_cM_MengskSnarkExecuted == false) && (libCOOC_gf_CC_CommanderInGame("TerranMengsk") == true)) {
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCOMI_gv_cM_MengskSnarkExecuted = true;
Wait(0.5, c_timeReal);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:30623
TriggerEnable(TriggerGetCurrent(), false);
libCOMI_gf_CM_CommanderVOSend(libCOOC_gf_CC_PlayerAlly(EventPlayer()), SoundLink("SwannCommander_Drone", -1), PlayerGroupAll());
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCOMI_gf_CM_CommanderVOSend(EventPlayer(), libCOOC_gf_CC_CommanderVOLine(libCOOC_gf_ActiveCommanderForPlayer(libCOOC_gf_CC_PlayerAlly(EventPlayer())), libCOOC_ge_CC_CommanderVOLines_CC_CommanderVOThankyou), PlayerGroupSingle(EventPlayer()));
return true;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:30689
libCOMI_gf_CM_CommanderVOSend(libCOOC_gf_CC_PlayerAlly(EventPlayer()), SoundLink("KerriganCommander_CrushingGrip", -1), PlayerGroupAll());
if ((libCOMI_gv_cM_MengskSnarkExecuted == false) && (libCOOC_gf_CC_CommanderInGame("TerranMengsk") == true)) {
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCOMI_gv_cM_MengskSnarkExecuted = true;
Wait(0.5, c_timeReal);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:30759
libCOMI_gf_CM_GPReminderDisable(EventPlayer());
libCOMI_gf_CM_CommanderVOSend(libCOOC_gf_CC_PlayerAlly(EventPlayer()), SoundLink("ArtanisCommander_Shield", -1), PlayerGroupAll());
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCOMI_gf_CM_CommanderVOSend(EventPlayer(), libCOOC_gf_CC_CommanderVOLine(libCOOC_gf_ActiveCommanderForPlayer(libCOOC_gf_CC_PlayerAlly(EventPlayer())), libCOOC_ge_CC_CommanderVOLines_CC_CommanderVOThankyou), PlayerGroupSingle(EventPlayer()));
return true;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:32278
libCOMI_gf_CM_CommanderVOSend(libCOOC_gf_CC_PlayerAllyNew(UnitGetOwner(EventUnit())), SoundLink("TychusCommander_OdinUsed", -1), PlayerGroupAll());
if ((libCOMI_gv_cM_MengskSnarkExecuted == false) && (libCOOC_gf_CC_CommanderInGame("TerranMengsk") == true)) {
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCOMI_gv_cM_MengskSnarkExecuted = true;
Wait(0.5, c_timeReal);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:2971
SoundChannelMute(PlayerGroupSingle(lp_giftPlayer), c_soundCategoryMusic, true);
lv_bonusSound = SoundLastPlayed();
SoundWait(lv_bonusSound, 0.0, c_soundOffsetEnd);
SoundChannelMute(PlayerGroupSingle(lp_giftPlayer), c_soundCategoryMusic, false);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:5187
Wait(0.125, c_timeReal);
SoundPlayForPlayer(lv_guitarriffsound, c_maxPlayers, PlayerGroupSingle(lp_tychusPlayer), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libCOUI_gv_cU_TychusPurchaseUpgradePlaying = false;
return true;
mods/swarm.sc2mod — base.sc2data/TriggerLibs/SwarmLib.galaxy:227
SoundPlay(lp_soundLink, PlayerGroupAll(), 100.0, 0.0);
libHots_gv_soundLinkAsMusic = SoundLastPlayed();
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
libHots_gv_soundLinkAsMusicCurrentlyPlaying -= 1;
if ((libHots_gv_soundLinkAsMusicCurrentlyPlaying == 0)) {
mods/warcoop/warclassic.sc2mod — base.sc2data/TriggerLibs/WarClassic.galaxy:242
SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryMusic, true, true);
SoundPlay(lp_soundLink, PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
if (true) {
if (true) {