# Delete Campaign Save

Grammar — Deletes the campaign save for players
FlagsNative | Action | Restricted

Will delete the save file specified by the SaveName field in Campaign Data in GameUI Data for the current campaign

# Arguments

  • playergroup — Players

Returns — void

native void CampaignProgressDeleteCampaignSave(
	playergroup players,
);

Category: Story / Campaign Progress

# Examples

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


    if ((AchievementsDisabled(1) == false) && (libSwaC_gf_CurrentMap() == "ZKorhal3") && (libSwaC_gv_zS_InCompletedCampaign == false)) {
        CampaignProgressDeleteCampaignSave(PlayerGroupAll());
    }

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


    if ((AchievementsDisabled(1) == false)) {
        CampaignProgressDeleteCampaignSave(PlayerGroupAll());
    }

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

    if ((libVoiC_gv_pCX_IsSimulation == false)) {
        GameSetNextMap("");
        CampaignProgressDeleteCampaignSave(PlayerGroupAll());
    }

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

    }

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

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:7006


    if ((AchievementsDisabled(1) == false) && (lp_mission == "VoidPrologue03") && (libA3DDD02B_gv_pP_InCompletedCampaign == false)) {
        CampaignProgressDeleteCampaignSave(PlayerGroupAll());
    }