# Remove Bank Key

Grammar — Remove key from section section in bank bank
FlagsNative | Action

Removes a specific bank Key from a section in the chosen bank.

# Arguments

  • bank — Bank
  • string — Section
  • string — Key

Returns — void

native void BankKeyRemove(
	bank b,
	string section,
	string key,
);

Category: Bank / Utility

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:8747

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:8758

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:8769

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
        return ;
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14063

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14074

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14085

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7968

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7979

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7990

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

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

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

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

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

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

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4839

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4850

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4861

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:6778

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:6789

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:6800

    // Implementation
    if ((lp_value == lp_default)) {
        BankKeyRemove(lp_bank, lp_section, lp_key);
    }
    else {

mods/warcoop/warcoopdata.sc2modbase.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);