# Reload Bank

Grammar — Reload bank bank
FlagsNative | 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);

Category: Bank / Bank Management

# Examples

campaigns/libertystory.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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);