# End Game For Player

Grammar — End game in type for player player (showDialog|Show/Don’t Show dialogs, showScore|Show/Don’t Show score screen)
FlagsNative | Action

Finishes the game in Victory, Defeat, or Tie for the specified player. This action can also choose to hide or show the victory dialog for the chosen player. As of version 2.0, the Show Score parameter is obsolete and has no effect.

# Arguments

Returns — void

native void GameOver(
	int player,
	int type,
	bool showDialog,
	bool showScore,
);

Category: Game / Transitions

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4125

    }
    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(gv_p1_USER));
    GameOver(gv_p1_USER, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8351

    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(1));
    libCamp_gf_CreateStoryModeTransitionSave(libCamp_gf_MissionName(32), null);
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:5092

    DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true);
    TriggerExecute(gt_BlizzconScreenWait, true, true);
    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:17576


    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:22007

    Wait(0.125, c_timeReal);
    libCamp_gf_PrepareForMission(libCamp_ge_MapID_MapTSimulator, false, false, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:22756

    Wait(0.125, c_timeReal);
    libCamp_gf_PrepareForMission(libCamp_ge_MapID_MapTArcade, false, false, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:24588

        GameSetNextMap("");
        UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypePlanetPanel, false);
        GameOver(1, c_gameOverVictory, false, false);
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:25524

        UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeBattleReportPanel, true);
        GameSetNextMap("");
        GameOver(1, c_gameOverVictory, false, false);
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1391


    gf_SaveTutorialData();
    GameOver(gv_p01_USER, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:390

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:410

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:704

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:468

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1723

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:652

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:366

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:710

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:382

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:4125

    }
    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(gv_p1_USER));
    GameOver(gv_p1_USER, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:8351

    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(1));
    libCamp_gf_CreateStoryModeTransitionSave(libCamp_gf_MissionName(32), null);
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:5092

    DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true);
    TriggerExecute(gt_BlizzconScreenWait, true, true);
    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:17576


    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:22007

    Wait(0.125, c_timeReal);
    libCamp_gf_PrepareForMission(libCamp_ge_MapID_MapTSimulator, false, false, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:22756

    Wait(0.125, c_timeReal);
    libCamp_gf_PrepareForMission(libCamp_ge_MapID_MapTArcade, false, false, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:24588

        GameSetNextMap("");
        UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypePlanetPanel, false);
        GameOver(1, c_gameOverVictory, false, false);
    }
    else {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:25524

        UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeBattleReportPanel, true);
        GameSetNextMap("");
        GameOver(1, c_gameOverVictory, false, false);
    }
    else {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1391


    gf_SaveTutorialData();
    GameOver(gv_p01_USER, c_gameOverVictory, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2mapMapScript.galaxy:390

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2mapMapScript.galaxy:410

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2mapMapScript.galaxy:704

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2mapMapScript.galaxy:468

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:1723

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2mapMapScript.galaxy:652

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2mapMapScript.galaxy:366

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2mapMapScript.galaxy:710

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2mapMapScript.galaxy:382

    }

    GameOver(gv_pLAYER_USER, c_gameOverDefeat, false, false);
    return true;
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:629

    }
    else {
        GameOver(lp_player, lp_type, true, false);
    }
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:3404


    libCamp_gf_PrepareForMission(lv_missionPicked, lp_simulationOnOff, false, lp_difficulty);
    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:10252

    }

    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:11673

    else {
        libCamp_gf_PrepareForStoryMode(c_gameOverDefeat, libCamp_gf_TS_CampaignDifficulty());
        GameOver(EventPlayer(), c_gameOverDefeat, false, false);
    }
    return true;

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:12105

    libCamp_gf_ZS_CloseCampaignTrialDialog();
    GameSetNextMap("");
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:12823


    if ((libCamp_gv_tS_CurrentMap != libCamp_ge_MapID_MapTValerian03)) {
        GameOver(1, c_gameOverVictory, false, false);
        return true;
    }

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:12879

    }
    libCamp_gf_PrepareForMission(libCamp_gv_tS_CurrentMap, lv_simulation, true, EventVictoryPanelDifficultySelected());
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:13245

            libCamp_gv_tS_DebugProgressLaunchingMission = true;
            libCamp_gf_PrepareForMission(libCamp_gv_tS_DebugProgressMissionOptions[lv_index], false, false, libCamp_gf_TS_CampaignDifficulty());
            GameOver(1, c_gameOverVictory, false, false);
        }

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:13443

    libCamp_gv_tS_CurrentMap = libCamp_gv_tS_DebugProgressLastMission;
    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, libCamp_gf_TS_CampaignDifficulty());
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:1382

        TriggerExecute(libSwaC_gt_ZS_CollectCampaignStatsDataMisisonDefeat, true, false);
        TriggerExecute(libSwaC_gt_ZS_SaveCampaignStatsData, true, false);
        GameOver(lp_player, lp_type, true, false);
    }
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:5298

    libSwaC_gf_PrepareForMission(lp_mission, lp_simulation, false, lp_difficulty);
    TriggerExecute(libSwaC_gt_ZS_SaveCampaignStatsData, true, false);
    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:5306

    libSwaC_gf_PrepareForStoryMapSwitch(lp_nextMap);
    TriggerExecute(libSwaC_gt_ZS_SaveCampaignStatsData, true, false);
    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:9554

    }
    TriggerExecute(libSwaC_gt_ZS_SaveCampaignStatsData, true, false);
    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14130


    TriggerExecute(libSwaC_gt_ZS_SaveCampaignStatsData, true, false);
    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14210

            Wait(0.1, c_timeGame);
        }
        GameOver(1, c_gameOverVictory, false, false);
        return ;
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16274

        libSwaC_gf_PrepareForStoryMode(c_gameOverDefeat, PlayerDifficulty(1));
        TriggerExecute(libSwaC_gt_ZS_SaveCampaignStatsData, true, false);
        GameOver(1, c_gameOverDefeat, false, false);
    }
    return true;

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21808

    }
    if ((libSwaC_gf_CurrentMap() != "ZKorhal3")) {
        GameOver(1, c_gameOverVictory, false, false);
        return true;
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21935

        Wait(0.1, c_timeGame);
    }
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:22152

    libSwaC_gf_PrepareForMission(lv_clickedMission, false, false, libSwaC_gv_zSX_CampaignDifficulty);
    libSwaC_gv_zS_DebugProgressActive = false;
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:5841

    Wait(0.0625, c_timeGame);
    lib281DEC45_gf_ZSS_SaveForExit();
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:6235

    if ((lib281DEC45_gf_ZSS_CampaignCompleted() == true)) {
        lib281DEC45_gf_ZSS_SaveForExit();
        GameOver(1, c_gameOverVictory, false, false);
    }
    else {

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:6451

    }

    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:6754

    }

    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

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

    }

    GameOver(gv_p01_USER, c_gameOverVictory, false, false);
    return true;
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5805

    }

    GameOver(gv_p01_USER, c_gameOverDefeat, true, true);
    return true;
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9857

    }

    GameOver(gv_p01_USER, c_gameOverDefeat, true, true);
    return true;
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15678


    if (((EventUnit() == gv_protossNexus) || ((UnitGetType(EventUnit()) == "Stalker") && (UnitGroupCount(gv_protossStartingStalkers, c_unitCountAlive) == 0) && (gv_protossBaseFound == false)))) {
        GameOver(gv_p01_USER, c_gameOverDefeat, true, true);
    }
    else {

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

    }

    GameOver(gv_p01_USER, c_gameOverVictory, false, false);
    return true;
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:5805

    }

    GameOver(gv_p01_USER, c_gameOverDefeat, true, true);
    return true;
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:9857

    }

    GameOver(gv_p01_USER, c_gameOverDefeat, true, true);
    return true;
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:15678


    if (((EventUnit() == gv_protossNexus) || ((UnitGetType(EventUnit()) == "Stalker") && (UnitGroupCount(gv_protossStartingStalkers, c_unitCountAlive) == 0) && (gv_protossBaseFound == false)))) {
        GameOver(gv_p01_USER, c_gameOverDefeat, true, true);
    }
    else {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:3016

    // Implementation
    libVoiC_gf_PrepareForMission(lp_mission, lp_simulation, false, lp_difficulty);
    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:3023

    // Implementation
    libVoiC_gf_PrepareForStoryMapSwitch(lp_nextMap);
    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:9654

    libVoiC_gf_PC_SetLocationActive(libVoiC_gf_StoryMapPlanet(lv_clickedMission));
    libVoiC_gf_PrepareForMission(lv_clickedMission, false, false, libVoiC_gv_pCX_CampaignDifficulty);
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:9723

    libVoiC_gf_PS_UpdatePlanetData();
    libVoiC_gf_PrepareForMission(lv_clickedMission, false, false, libVoiC_gv_pCX_CampaignDifficulty);
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:9938

        libVoiC_gf_PC_SetCurrentMap("PStory01");
        libVoiC_gf_PrepareForMission("PAiur01", false, false, libVoiC_gv_pCX_CampaignDifficulty);
        GameOver(1, c_gameOverVictory, false, false);
        return true;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:9945

    libVoiC_gf_DispatchCampaignEvent(libVoiC_ge_PC_Event_CampaignMapTransition, "debug", "", true);
    libVoiC_gf_PrepareForStoryMode(c_gameOverVictory, libVoiC_gv_pCX_CampaignDifficulty);
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1403

    libVCMI_gf_PM_MissionEndStats(lp_type);
    if ((lp_type != c_gameOverVictory)) {
        GameOver(lp_player, lp_type, true, false);
        return ;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1482

    }

    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1506

    }

    GameOver(1, c_gameOverVictory, false, false);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6841

    else {
        libVoiC_gf_PrepareForStoryMode(c_gameOverDefeat, PlayerDifficulty(1));
        GameOver(1, c_gameOverDefeat, false, false);
    }
    return true;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6901


    if ((libVoiC_gv_pCX_IsSimulation == true)) {
        GameOver(1, c_gameOverVictory, false, false);
        return true;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6907

    lv_nextMap = libVoiC_gf_PostMissionStoryMap(libVoiC_gf_CurrentMap(), libVoiC_gv_pCX_IsSimulation, c_gameOverVictory, true);
    if ((lv_nextMap == "PStory01")) {
        GameOver(1, c_gameOverVictory, false, false);
        return true;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6972


    GameSetNextMap("");
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6994

    libVoiC_gf_PS_UpdatePlanetData();
    libVoiC_gf_PrepareForStoryMode(c_gameOverVictory, libVoiC_gv_pCX_CampaignDifficulty);
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:5004

    Wait(0.0625, c_timeGame);
    libVCST_gf_PS_SaveForExit();
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:5134

        Wait(0.0625, c_timeGame);
        libVCST_gf_PS_SaveForExit();
        GameOver(1, c_gameOverVictory, false, false);
        return true;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:5358


    if ((libVCUI_gv_pU_MissionQuitToggle == true)) {
        GameOver(1, c_gameOverVictory, false, false);
        return true;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:8780

    }

    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:10496


    libVoiC_gf_PrepareForMission(libVoiC_gf_CurrentMap(), libVoiC_gv_pCX_IsSimulation, true, EventVictoryPanelDifficultySelected());
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:10663

    }
    libVoiC_gf_PrepareForMission(libVoiC_gf_CurrentMap(), libVoiC_gv_pCX_IsSimulation, true, lv_difficulty);
    GameOver(1, c_gameOverVictory, false, false);
    return true;
}

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmodbase.stormdata/LibPVEB.galaxy:1361

    libGame_gf_ScoreValuesReportForPlayer(lp_player);
    libGame_gv_players[lp_player].lv_gameEndedForPlayer = true;
    GameOver(lp_player, libGame_gv_players[lp_player].lv_victoryDefeat, false, false);
}

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEM.galaxy:1477

    libGame_gf_ScoreValuesReportForPlayer(lp_player);
    libGame_gv_players[lp_player].lv_gameEndedForPlayer = true;
    GameOver(lp_player, libGame_gv_players[lp_player].lv_victoryDefeat, false, false);
}

mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmodbase.stormdata/LibLNYF.galaxy:228

            UnitCreateEffectPoint(libGame_gv_players[autoD6D90C9C_var].lv_heroUnit, "RaceBrawl_Crowd_GameEnd", UnitGetPosition(libGame_gv_players[autoD6D90C9C_var].lv_heroUnit));
            libGame_gv_players[autoD6D90C9C_var].lv_victoryDefeat = c_gameOverDefeat;
            GameOver(autoD6D90C9C_var, c_gameOverDefeat, false, true);
        }
        else {

mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmodbase.stormdata/LibLNYF.galaxy:232

        else {
            UnitCreateEffectPoint(libGame_gv_players[autoD6D90C9C_var].lv_heroUnit, "RaceBrawl_Crowd_GameEnd_FirstPlace", UnitGetPosition(libGame_gv_players[autoD6D90C9C_var].lv_heroUnit));
            GameOver(autoD6D90C9C_var, c_gameOverVictory, false, true);
        }
    }

mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmodbase.stormdata/LibLNYF.galaxy:245

            UnitCreateEffectPoint(libGame_gv_players[auto8A0C490B_var].lv_heroUnit, "RaceBrawl_Crowd_GameEnd", UnitGetPosition(libGame_gv_players[auto8A0C490B_var].lv_heroUnit));
            libGame_gv_players[auto8A0C490B_var].lv_victoryDefeat = c_gameOverDefeat;
            GameOver(auto8A0C490B_var, c_gameOverDefeat, false, true);
        }
        else {

mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmodbase.stormdata/LibLNYF.galaxy:249

        else {
            UnitCreateEffectPoint(libGame_gv_players[auto8A0C490B_var].lv_heroUnit, "RaceBrawl_Crowd_GameEnd_FirstPlace", UnitGetPosition(libGame_gv_players[auto8A0C490B_var].lv_heroUnit));
            GameOver(auto8A0C490B_var, c_gameOverVictory, false, true);
        }
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10947

    libGame_gf_ScoreValuesReportForPlayer(lp_player);
    libGame_gv_players[lp_player].lv_gameEndedForPlayer = true;
    GameOver(lp_player, libGame_gv_players[lp_player].lv_victoryDefeat, false, true);
}

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:901

    // Implementation
    libComC_gf_CC_TransitionPrepareMissionLaunch(lp_mission, lp_simulation, false, lp_difficulty);
    GameOver(1, c_gameOverVictory, false, false);
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2243

    TriggerQueuePause(true);
    if ((lp_type != c_gameOverVictory)) {
        GameOver(lp_player, lp_type, true, false);
        return ;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2306


    CampaignProgressDeleteCampaignSave(PlayerGroupAll());
    GameOver(1, c_gameOverVictory, false, false);
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:5918

    else {
        libComC_gf_CC_TransitionPrepareMissionEnd(c_gameOverDefeat, PlayerDifficulty(1));
        GameOver(1, c_gameOverDefeat, false, false);
    }
    return true;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:5960


    if ((libComC_gf_CC_TransitionInSimulation() == true)) {
        GameOver(1, c_gameOverVictory, false, false);
        return true;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:5979

    lv_nextMap = libComC_gf_CC_TransitionNextMap();
    if ((lv_nextMap == "NStory01")) {
        GameOver(1, c_gameOverVictory, false, false);
        return true;
    }