# Remove Bank Key
Grammar — Remove key from section section in bank bank
Flags —Native
|Action
Removes a specific bank Key from a section in the chosen bank.
# Arguments
bank
— Bankstring
— Sectionstring
— Key
Returns — void
native void BankKeyRemove(
bank b,
string section,
string key,
);
# 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:8747
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:8758
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:8769
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
return ;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14063
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14074
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14085
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7968
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7979
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7990
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3879
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3889
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3899
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4839
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4850
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4861
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6778
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6789
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6800
// Implementation
if ((lp_value == lp_default)) {
BankKeyRemove(lp_bank, lp_section, lp_key);
}
else {
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:817
// Automatic Variable Declarations
// Implementation
BankKeyRemove(libWCdr_gv_w3CBank[lp_player], lp_section, lp_key);
if ((BankKeyCount(libWCdr_gv_w3CBank[lp_player], lp_section) == 0)) {
BankSectionRemove(libWCdr_gv_w3CBank[lp_player], lp_section);