# Set Bank Option

Grammar — Set Option option for Bank bank to state|Enabled/Disabled
FlagsNative | Action

# Arguments

Returns — void

native void BankOptionSet(bank b, int option, bool enable);

Category: Bank / Utility

# Examples

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

    BankLoad(libSwaC_gv_zS_ArchiveBankName, 1);
    libSwaC_gv_zS_ArchivesBank = BankLastCreated();
    BankOptionSet(BankLastCreated(), c_bankOptionSignature, true);
}

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

    BankLoad(libSwaC_gv_zS_CampaignBankName, 1);
    libSwaC_gv_zS_CampaignBank = BankLastCreated();
    BankOptionSet(BankLastCreated(), c_bankOptionSignature, true);
}

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

    BankLoad(libSwaC_gv_zS_StoryBankName, 1);
    libSwaC_gv_zS_StoryBank = BankLastCreated();
    BankOptionSet(BankLastCreated(), c_bankOptionSignature, true);
}

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

        BankLoad("ZCampaignStats", 1);
        libSwaC_gv_zS_CampaignStatsBank = BankLastCreated();
        BankOptionSet(BankLastCreated(), c_bankOptionSignature, true);
    }

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

        BankLoad("ZCampaignStats", 1);
        libSwaC_gv_zS_CampaignStatsBank = BankLastCreated();
        BankOptionSet(BankLastCreated(), c_bankOptionSignature, true);
    }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:505

    }
    lv_statisticsBank = BankLastCreated();
    BankOptionSet(lv_statisticsBank, c_bankOptionSignature, true);
    UserDataLoadType("ScriptedScenes", lv_statisticsBank, "StoryScenes");
}

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:5872

    }
    lv_statisticsBank = BankLastCreated();
    BankOptionSet(lv_statisticsBank, c_bankOptionSignature, true);
    UserDataSaveType("ScriptedScenes", lv_statisticsBank, "StoryScenes");
    return true;

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

    }
    libVoiC_gv_pC_ArchivesBank = BankLastCreated();
    BankOptionSet(BankLastCreated(), c_bankOptionSignature, true);
}

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

    BankLoad(libComC_gv_cC_ArchiveBankName, 1);
    libComC_gv_cC_ArchivesBank = BankLastCreated();
    BankOptionSet(BankLastCreated(), c_bankOptionSignature, true);
}

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

    BankLoad(libA3DDD02B_gv_pC_ArchiveBankName, 1);
    libA3DDD02B_gv_pC_ArchivesBank = BankLastCreated();
    BankOptionSet(BankLastCreated(), c_bankOptionSignature, true);
}

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

    BankLoad(libA3DDD02B_gv_pP_CampaignBankName, 1);
    libA3DDD02B_gv_pP_CampaignBank = BankLastCreated();
    BankOptionSet(BankLastCreated(), c_bankOptionSignature, true);
}