# Enable Campaign Completed Saves

Grammarenable Campaign Completed Saves for players
FlagsNative | Action | Restricted

If campaign completed saves are enabled, all saves made will be copied into the file specified by the CompletedSaveName field in Campaign Data in GameUI Data for the current campaign

# Arguments

Returns — void

native void CampaignProgressEnableCampaignCompletedSaves(
	playergroup players,
	bool inDisable,
);

Category: Story / Campaign Progress

# Examples

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

    SoundtrackStop(PlayerGroupAll(), c_soundtrackCategoryAmbience, true);
    if ((AchievementsDisabled(1) == false) && ((libSwaC_gf_CurrentMap() == "ZKorhal3") || (libSwaC_gv_zS_InCompletedCampaign == true))) {
        CampaignProgressEnableCampaignCompletedSaves(PlayerGroupAll(), true);
    }

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

    TriggerDebugOutput(1, StringExternal("Param/Value/lib_281DEC45_BED331D6"), false);
    if ((lib281DEC45_gv_zSS_CampaignComplete == true)) {
        CampaignProgressEnableCampaignCompletedSaves(PlayerGroupAll(), true);
    }
    else {

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

    }

    CampaignProgressEnableCampaignCompletedSaves(PlayerGroupAll(), true);
}

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

    }

    CampaignProgressEnableCampaignCompletedSaves(PlayerGroupAll(), true);
}

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

    }

    CampaignProgressEnableCampaignCompletedSaves(PlayerGroupAll(), true);
}