# Bank Name
Grammar — Name of bank bank
Flags —Native
|Function
Returns the name of the chosen bank.
# Arguments
bank
— Bank
Returns — string
native string BankName(bank b);
# 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
mods/missionpacks/campaigncommon.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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);
}