# Bank Name

Grammar — Name of bank bank
FlagsNative | Function

Returns the name of the chosen bank.

# Arguments

  • bank — Bank

Returns — string

native string BankName(bank b);

Category: Bank / Utility

# Examples

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:3219


    if ((lp_resultFromDefeat == true)) {
        libComC_gf_CC_EventDispatch(libComC_ge_CC_Event_CC_EventTransitionSave, BankName(lp_targetBank), (lp_map), false);
        return ;
    }

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:3237


    libComC_gf_CC_MapBankSave(lp_map, lp_targetBank, (lp_resultFromSimulation || lp_resultFromVictoryAgain));
    libComC_gf_CC_EventDispatch(libComC_ge_CC_Event_CC_EventTransitionSave, BankName(lp_targetBank), (lp_map), false);
    if (((lp_resultFromSimulation == true) || (lp_resultFromVictoryAgain == true))) {
        return ;

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:3292

    lv__SectionName = libComC_gf_CC_BankSectionName(lp_map, "Tips");
    UserDataLoadType("CampaignTips", lp_sourceBank, lv__SectionName);
    libComC_gf_CC_EventDispatch(libComC_ge_CC_Event_CC_EventTransitionLoad, BankName(lp_sourceBank), (lp_map), false);
}