# Reload Bank
Grammar — Reload bank bank
Flags —Native
|Action
Reloads the specified bank file, allowing you to access stored values later. If a bank has unsaved changes they will be lost when it reloads.
# Arguments
bank
— Bank
Returns — void
native void BankReload(bank b);
# Related
Category: Bank / Bank Management
- Open Bank —
bank
— BankLoad - Last Opened Bank —
bank
— BankLastCreated - Reload Bank —
void
— BankReload - Save Bank —
void
— BankSave - Preload Bank — macro
- Wait For Bank —
void
— BankWait
# Examples
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:12797
}
BankReload(libCamp_gv_cP_Bank);
BankWait(libCamp_gv_cP_Bank);
if ((BankSectionExists(libCamp_gv_cP_Bank, ("CampaignCompleted")) == true)) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13732
// Implementation
libSwaC_gf_ZS_OpenArchiveBank();
BankReload(libSwaC_gv_zS_ArchivesBank);
libSwaC_gv_zS_ArchivesReloading = true;
TriggerExecute(libSwaC_gt_ZS_ArchivesBankLoadSyncComplete, true, false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13741
// Implementation
libSwaC_gf_ZS_OpenArchiveBank();
BankReload(libSwaC_gv_zS_ArchivesBank);
libSwaC_gv_zS_ArchivesReloading = true;
TriggerExecute(libSwaC_gt_ZS_ArchivesBankSaveSyncComplete, true, false);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7597
// Implementation
libVoiC_gf_PC_OpenArchiveBank();
BankReload(libVoiC_gv_pC_ArchivesBank);
libVoiC_gv_pC_ArchivesReloading = true;
TriggerExecute(libVoiC_gt_PC_ArchivesBankLoadSyncComplete, true, false);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7606
// Implementation
libVoiC_gf_PC_OpenArchiveBank();
BankReload(libVoiC_gv_pC_ArchivesBank);
libVoiC_gv_pC_ArchivesReloading = true;
TriggerExecute(libVoiC_gt_PC_ArchivesBankSaveSyncComplete, true, false);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3646
// Implementation
libComC_gf_CC_ArchiveBankOpen();
BankReload(libComC_gv_cC_ArchivesBank);
libComC_gv_cC_ArchivesReloading = true;
TriggerExecute(libComC_gt_CC_ArchiveBankLoadSyncComplete, true, false);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3654
// Implementation
libComC_gf_CC_ArchiveBankOpen();
BankReload(libComC_gv_cC_ArchivesBank);
libComC_gv_cC_ArchivesReloading = true;
TriggerExecute(libComC_gt_CC_ArchiveBankSaveSyncComplete, true, false);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6578
// Implementation
libA3DDD02B_gf_PC_OpenArchiveBank();
BankReload(libA3DDD02B_gv_pC_ArchivesBank);
libA3DDD02B_gv_pP_ArchivesReloading = true;
TriggerExecute(libA3DDD02B_gt_PP_ArchivesBankLoadSyncComplete, true, false);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6587
// Implementation
libA3DDD02B_gf_PC_OpenArchiveBank();
BankReload(libA3DDD02B_gv_pC_ArchivesBank);
libA3DDD02B_gv_pP_ArchivesReloading = true;
TriggerExecute(libA3DDD02B_gt_PP_ArchivesBankSaveSyncComplete, true, false);