# Triggering Wave

Grammar — Triggering wave
FlagsNative | Function

Returns the triggering attack wave in response to “Player Sends AI Wave” events.

Returns — wave

native wave EventPlayerWave();

# Supported triggers

Category: AI / AttackWaves / Functions

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:3326

    PingDestroy(gv_pingGather);
    PingDestroy(gv_pingAttack);
    lv_triggeringWave = EventPlayerWave();
    lv_triggeringWaveGroup = AIWaveGetUnits(lv_triggeringWave);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingBoss", UnitGroupCenterOfGroup(lv_triggeringWaveGroup), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 30.0, 270.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:4438


    TriggerEnable(TriggerGetCurrent(), false);
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    gf_TrackUnitGroupWithPing(lv_waveGroup);
    SoundPlay(SoundLink("UI_ZergWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:4657


    TriggerEnable(TriggerGetCurrent(), false);
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    gf_TrackUnitGroupWithPing(lv_waveGroup);
    SoundPlay(SoundLink("UI_ZergWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:2382

    Wait(30.0, c_timeAI);
    TriggerQueueEnter();
    autoF85333CE_g = AIWaveGetUnits(EventPlayerWave());
    autoF85333CE_u = UnitGroupCount(autoF85333CE_g, c_unitCountAll);
    for (;; autoF85333CE_u -= 1) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2mapMapScript.galaxy:3326

    PingDestroy(gv_pingGather);
    PingDestroy(gv_pingAttack);
    lv_triggeringWave = EventPlayerWave();
    lv_triggeringWaveGroup = AIWaveGetUnits(lv_triggeringWave);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingBoss", UnitGroupCenterOfGroup(lv_triggeringWaveGroup), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 30.0, 270.0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2mapMapScript.galaxy:4438


    TriggerEnable(TriggerGetCurrent(), false);
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    gf_TrackUnitGroupWithPing(lv_waveGroup);
    SoundPlay(SoundLink("UI_ZergWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2mapMapScript.galaxy:4657


    TriggerEnable(TriggerGetCurrent(), false);
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    gf_TrackUnitGroupWithPing(lv_waveGroup);
    SoundPlay(SoundLink("UI_ZergWarningPing", -1), PlayerGroupAll(), 100.0, 0.0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2mapMapScript.galaxy:2382

    Wait(30.0, c_timeAI);
    TriggerQueueEnter();
    autoF85333CE_g = AIWaveGetUnits(EventPlayerWave());
    autoF85333CE_u = UnitGroupCount(autoF85333CE_g, c_unitCountAll);
    for (;; autoF85333CE_u -= 1) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2775

    TriggerEnable(TriggerGetCurrent(), false);
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/2D150BE1"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2776

    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/2D150BE1"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2779

    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);
    libVCMI_gf_SendTransmissionCampaign(UnitGroupUnit(UnitGroupFilter("ZealotShakuras", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), "pMission_Aiur05|Line00170", c_transmissionDurationAdd, 0.0, true, libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libVCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Game);
    TriggerQueueExit();

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2819

    TriggerEnable(TriggerGetCurrent(), false);
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/4570DAC0"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2820

    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/4570DAC0"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2823

    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);
    libVCMI_gf_SendTransmissionCampaign(UnitGroupUnit(UnitGroupFilter("HighTemplarTaldarim", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), "pMission_Aiur05|Line00171", c_transmissionDurationAdd, 0.0, true, libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libVCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Game);
    TriggerQueueExit();

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2863

    TriggerEnable(TriggerGetCurrent(), false);
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/DADAF294"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2864

    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/DADAF294"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2867

    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);
    libVCMI_gf_SendTransmissionCampaign(UnitGroupUnit(UnitGroupFilter("ZealotPurifier", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), "pMission_Aiur05|Line00172", c_transmissionDurationAdd, 0.0, true, libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libVCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Game);
    TriggerQueueExit();

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:2908


    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/4007E1BE"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier01.sc2map/MapScript.galaxy:3386

    // Automatic Variable Declarations
    // Variable Initialization
    lv_unitsOfWave = AIWaveGetUnits(EventPlayerWave());

    // Conditions

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier01.sc2map/MapScript.galaxy:3445

    // Automatic Variable Declarations
    // Variable Initialization
    lv_unitsOfWave = AIWaveGetUnits(EventPlayerWave());

    // Conditions

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4554

    // Automatic Variable Declarations
    // Variable Initialization
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());

    // Conditions

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4606

    // Automatic Variable Declarations
    // Variable Initialization
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());

    // Conditions

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4629


    TriggerEnable(TriggerGetCurrent(), false);
    if (((UnitGroupCount(UnitGroupFilter("HybridDestroyer", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroupFilter("HybridReaver", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
        return true;
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4629


    TriggerEnable(TriggerGetCurrent(), false);
    if (((UnitGroupCount(UnitGroupFilter("HybridDestroyer", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroupFilter("HybridReaver", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
        return true;
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:5265


    TriggerEnable(TriggerGetCurrent(), false);
    gf_AttackWavePing(AIWaveGetUnits(EventPlayerWave()));
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/32B14DA8"), null, PointFromId(571));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim02.sc2map/MapScript.galaxy:3433


    TriggerEnable(TriggerGetCurrent(), false);
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/655A21CF"), null, PointFromId(369));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim02.sc2map/MapScript.galaxy:3485

    }

    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    if ((UnitGroupCount(lv_waveGroup, c_unitCountAlive) > 0)) {
        TriggerEnable(TriggerGetCurrent(), false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:2504

    }

    gv_recentlySentAttackWaves[gv_recentlySentAttackWaveCounter] = EventPlayerWave();
    gv_recentlySentAttackWaveCounter += 1;
    if ((gv_recentlySentAttackWaveCounter > 7)) {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2775

    TriggerEnable(TriggerGetCurrent(), false);
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/2D150BE1"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2776

    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/2D150BE1"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2779

    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);
    libVCMI_gf_SendTransmissionCampaign(UnitGroupUnit(UnitGroupFilter("ZealotShakuras", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), "pMission_Aiur05|Line00170", c_transmissionDurationAdd, 0.0, true, libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libVCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Game);
    TriggerQueueExit();

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2819

    TriggerEnable(TriggerGetCurrent(), false);
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/4570DAC0"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2820

    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/4570DAC0"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2823

    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);
    libVCMI_gf_SendTransmissionCampaign(UnitGroupUnit(UnitGroupFilter("HighTemplarTaldarim", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), "pMission_Aiur05|Line00171", c_transmissionDurationAdd, 0.0, true, libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libVCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Game);
    TriggerQueueExit();

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2863

    TriggerEnable(TriggerGetCurrent(), false);
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/DADAF294"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2864

    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/DADAF294"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2867

    Wait(2.0, c_timeGame);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Speech);
    libVCMI_gf_SendTransmissionCampaign(UnitGroupUnit(UnitGroupFilter("ZealotPurifier", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), "pMission_Aiur05|Line00172", c_transmissionDurationAdd, 0.0, true, libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libVCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    libVoiC_gf_SetAllSoundChannelVolumesCampaign(libVoiC_ge_VolumeChannelModeCampaign_Game);
    TriggerQueueExit();

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:2908


    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/4007E1BE"), null, UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())));
    libVCMI_gf_PingMinimapCampaign(PlayerGroupAll(), UnitGroupCenterOfGroup(AIWaveGetUnits(EventPlayerWave())), 4.0, Color(100.00, 100.00, 0.00));
    Wait(2.0, c_timeGame);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier01.sc2mapMapScript.galaxy:3386

    // Automatic Variable Declarations
    // Variable Initialization
    lv_unitsOfWave = AIWaveGetUnits(EventPlayerWave());

    // Conditions

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier01.sc2mapMapScript.galaxy:3445

    // Automatic Variable Declarations
    // Variable Initialization
    lv_unitsOfWave = AIWaveGetUnits(EventPlayerWave());

    // Conditions

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2mapMapScript.galaxy:4554

    // Automatic Variable Declarations
    // Variable Initialization
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());

    // Conditions

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2mapMapScript.galaxy:4606

    // Automatic Variable Declarations
    // Variable Initialization
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());

    // Conditions

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2mapMapScript.galaxy:4629


    TriggerEnable(TriggerGetCurrent(), false);
    if (((UnitGroupCount(UnitGroupFilter("HybridDestroyer", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroupFilter("HybridReaver", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
        return true;
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2mapMapScript.galaxy:4629


    TriggerEnable(TriggerGetCurrent(), false);
    if (((UnitGroupCount(UnitGroupFilter("HybridDestroyer", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroupFilter("HybridReaver", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
        return true;
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras01.sc2mapMapScript.galaxy:5265


    TriggerEnable(TriggerGetCurrent(), false);
    gf_AttackWavePing(AIWaveGetUnits(EventPlayerWave()));
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/32B14DA8"), null, PointFromId(571));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim02.sc2mapMapScript.galaxy:3433


    TriggerEnable(TriggerGetCurrent(), false);
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/655A21CF"), null, PointFromId(369));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim02.sc2mapMapScript.galaxy:3485

    }

    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    if ((UnitGroupCount(lv_waveGroup, c_unitCountAlive) > 0)) {
        TriggerEnable(TriggerGetCurrent(), false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2mapMapScript.galaxy:2504

    }

    gv_recentlySentAttackWaves[gv_recentlySentAttackWaveCounter] = EventPlayerWave();
    gv_recentlySentAttackWaveCounter += 1;
    if ((gv_recentlySentAttackWaveCounter > 7)) {

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4683


    gv_attackWavesActive += 1;
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    lv_attackWavePlayer = UnitGetOwner(UnitGroupUnit(lv_waveGroup, 1));
    autoD843421D_val = lv_attackWavePlayer;

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8440

    }

    UnitGroupAddUnitGroup(lv_waveGroup, AIWaveGetUnits(EventPlayerWave()));
    auto906EA19D_g = lv_waveGroup;
    auto906EA19D_u = UnitGroupCount(auto906EA19D_g, c_unitCountAll);

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:8454


    TriggerEnable(TriggerGetCurrent(), false);
    lv_triggeringWaveGroup = AIWaveGetUnits(EventPlayerWave());
    Wait(4.0, c_timeAI);
    TimerStart(lv_talkTimer, 2.0, false, c_timeGame);

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:3754

    }

    lv_unitGroup = AIWaveGetUnits(EventPlayerWave());
    gf_AttackWavePing(lv_unitGroup);
    return true;

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:5038

        }

        if (!((UnitGroupCount(UnitGroupFilter("Ghost", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
            return false;
        }

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:4683


    gv_attackWavesActive += 1;
    lv_waveGroup = AIWaveGetUnits(EventPlayerWave());
    lv_attackWavePlayer = UnitGetOwner(UnitGroupUnit(lv_waveGroup, 1));
    autoD843421D_val = lv_attackWavePlayer;

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8440

    }

    UnitGroupAddUnitGroup(lv_waveGroup, AIWaveGetUnits(EventPlayerWave()));
    auto906EA19D_g = lv_waveGroup;
    auto906EA19D_u = UnitGroupCount(auto906EA19D_g, c_unitCountAll);

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:8454


    TriggerEnable(TriggerGetCurrent(), false);
    lv_triggeringWaveGroup = AIWaveGetUnits(EventPlayerWave());
    Wait(4.0, c_timeAI);
    TimerStart(lv_talkTimer, 2.0, false, c_timeGame);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2mapMapScript.galaxy:3754

    }

    lv_unitGroup = AIWaveGetUnits(EventPlayerWave());
    gf_AttackWavePing(lv_unitGroup);
    return true;

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2mapMapScript.galaxy:5038

        }

        if (!((UnitGroupCount(UnitGroupFilter("Ghost", c_playerAny, AIWaveGetUnits(EventPlayerWave()), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:12979

    }

    lv_wave = EventPlayerWave();
    if ((lv_wave == null)) {
        return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:12984

    }

    lv_unitGroup = AIWaveGetUnits(EventPlayerWave());
    if ((UnitGroupCount(lv_unitGroup, c_unitCountAlive) == 0)) {
        return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:13002


            libCOMI_gv_cM_CoopAI_WaveShowPing[lv_player][lv_emptyWaveIndex] = true;
            libCOMI_gv_cM_CoopAIPlayer_AttackWaves[lv_player][lv_emptyWaveIndex] = EventPlayerWave();
            if ((libCOMI_gv_cM_CoopAIPlayer_WaveProps_Count[lv_player] == 1)) {
                libCOMI_gv_cM_CoopAIPlayer_WaveProps_Retreat[lv_player][lv_emptyWaveIndex] = 0;