# Enable Campaign Saves

Grammarenable Campaign Saves for players
FlagsNative | Action | Restricted

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

# Arguments

Returns — void

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

Category: Story / Campaign Progress

# Examples

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L12705
CampaignProgressEnableCampaignSaves(PlayerGroupAll(), false)
// L12708
CampaignProgressEnableCampaignSaves(PlayerGroupAll(), true)

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L6545
CampaignProgressEnableCampaignSaves(PlayerGroupAll(), false)
// L6548
CampaignProgressEnableCampaignSaves(PlayerGroupAll(), true)

# mods/missionpacks/campaigncommon.sc2mod

LibComC.galaxy

// L369
CampaignProgressEnableCampaignSaves(PlayerGroupAll(), false)
// L372
CampaignProgressEnableCampaignSaves(PlayerGroupAll(), true)