# Delete Saved Campaign Banks

Grammar — Delete all saved campaign banks for campaign index for player player
FlagsNative | Action | Restricted

Deletes all the saved campaign banks specified in GameUIData for the Campaign specified by the campaign index.

# Arguments

  • int — Player
  • int — Index

Returns — void

native void BankDeleteCampaignBanks(int player, int index);

Category: Bank / Utility

# Examples

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

    DialogSetVisible(libCamp_gv_tS_DebugProgressDialog, PlayerGroupAll(), false);
    if ((libCamp_gv_tS_DebugProgressResetUsed == true)) {
        BankDeleteCampaignBanks(1, 0);
    }

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

    else {
    }
    BankDeleteCampaignBanks(1, 1);
    libSwaC_gv_zS_StoryBank = null;
    libSwaC_gv_zS_CampaignBank = null;

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


    if ((libSwaC_gv_zS_DebugProgressResetUsed == true)) {
        BankDeleteCampaignBanks(1, 1);
        libSwaC_gv_zS_StoryBank = null;
        libSwaC_gv_zS_CampaignBank = null;

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

    libSwaC_gf_ZS_DebugProgressCloseDialog();
    if ((libSwaC_gv_zS_DebugProgressResetUsed == true)) {
        BankDeleteCampaignBanks(1, 1);
        libSwaC_gv_zS_StoryBank = null;
        libSwaC_gv_zS_CampaignBank = null;

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

    else {
    }
    BankDeleteCampaignBanks(1, libVoiC_gf_PC_CampaignSaveIndex());
    libVoiC_gv_pC_StoryBank = null;
    libVoiC_gv_pC_CampaignBank = null;

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


    if ((libVoiC_gv_pC_DebugProgressResetUsed == true)) {
        BankDeleteCampaignBanks(1, libVoiC_gf_PC_CampaignSaveIndex());
        libVoiC_gv_pC_StoryBank = null;
        libVoiC_gv_pC_CampaignBank = null;

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

    libVoiC_gf_PC_DebugProgressCloseDialog();
    if ((libVoiC_gv_pC_DebugProgressResetUsed == true)) {
        BankDeleteCampaignBanks(1, libVoiC_gf_PC_CampaignSaveIndex());
        libVoiC_gv_pC_StoryBank = null;
        libVoiC_gv_pC_CampaignBank = null;

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

    libVoiC_gf_PC_DebugProgressCloseDialog();
    if ((libVoiC_gv_pC_DebugProgressResetUsed == true)) {
        BankDeleteCampaignBanks(1, libVoiC_gf_PC_CampaignSaveIndex());
        libVoiC_gv_pC_StoryBank = null;
        libVoiC_gv_pC_CampaignBank = null;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNovC.galaxy:742


    TriggerDebugOutput(1, StringExternal("Param/Value/lib_NovC_FAFCC3CA"), false);
    BankDeleteCampaignBanks(1, libNovC_gf_NC_CampaignSaveIndex());
    libComC_gv_cC_StoryBank = null;
    libComC_gv_NC_CampaignBank = null;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNovC.galaxy:3236


    if ((libNovC_gv_NC_DebugProgressResetUsed == true)) {
        BankDeleteCampaignBanks(1, libNovC_gf_NC_CampaignSaveIndex());
        libComC_gv_cC_StoryBank = null;
        libComC_gv_NC_CampaignBank = null;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNovC.galaxy:3301

    libNovC_gf_NC_DebugProgressCloseDialog();
    if ((libNovC_gv_NC_DebugProgressResetUsed == true)) {
        BankDeleteCampaignBanks(1, libNovC_gf_NC_CampaignSaveIndex());
        libComC_gv_cC_StoryBank = null;
        libComC_gv_NC_CampaignBank = null;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNovC.galaxy:3368

    libNovC_gf_NC_DebugProgressCloseDialog();
    if ((libNovC_gv_NC_DebugProgressResetUsed == true)) {
        BankDeleteCampaignBanks(1, libNovC_gf_NC_CampaignSaveIndex());
        libComC_gv_cC_StoryBank = null;
        libComC_gv_NC_CampaignBank = null;