# Delete Saved Campaign Banks
Grammar — Delete all saved campaign banks for campaign index for player player
Flags —Native
|Action
|Restricted
Deletes all the saved campaign banks specified in GameUIData for the Campaign specified by the campaign index.
# Arguments
int
— Playerint
— Index
Returns — void
native void BankDeleteCampaignBanks(int player, int index);
# Related
Category: Bank / Utility
- Remove Bank Backup —
void
— BankBackupRemove - Get Bank Backup Id —
int
— BankBackupGetId - Get Bank Backup Latest Id —
int
— BankBackupGetLatestId - Restore Bank Backup —
void
— BankRestore - Backup Bank —
void
— BankBackup - Bank Exists —
bool
— BankExists - Bank Size As Text —
text
— BankSizeAsText - Bank Name —
string
— BankName - Bank Key Exists —
bool
— BankKeyExists - Bank Key Size As Text —
text
— BankKeySizeAsText - Bank Key Name —
string
— BankKeyName - Bank Key Count —
int
— BankKeyCount - Bank Option —
bool
— BankOptionGet - Bank Player —
int
— BankPlayer - Bank Section Exists —
bool
— BankSectionExists - Bank Section Size As Text —
text
— BankSectionSizeAsText - Bank Section Name —
string
— BankSectionName - Bank Section Count —
int
— BankSectionCount - Bank Value Is Type —
bool
— BankValueIsType - Delete Saved Campaign Banks —
void
— BankDeleteCampaignBanks - Evaluate Bank Condition —
bool
— BankConditionEvaluate - Set Bank Option —
void
— BankOptionSet - Create Bank Section —
void
— BankSectionCreate - Remove Bank —
void
— BankRemove - Remove Bank Key —
void
— BankKeyRemove - Remove Bank Section —
void
— BankSectionRemove - Verify Bank —
bool
— BankVerify
# Examples
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:13310
DialogSetVisible(libCamp_gv_tS_DebugProgressDialog, PlayerGroupAll(), false);
if ((libCamp_gv_tS_DebugProgressResetUsed == true)) {
BankDeleteCampaignBanks(1, 0);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:15677
else {
}
BankDeleteCampaignBanks(1, 1);
libSwaC_gv_zS_StoryBank = null;
libSwaC_gv_zS_CampaignBank = null;
campaigns/swarmstory.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:758
else {
}
BankDeleteCampaignBanks(1, libVoiC_gf_PC_CampaignSaveIndex());
libVoiC_gv_pC_StoryBank = null;
libVoiC_gv_pC_CampaignBank = null;
campaigns/voidstory.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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;