# Load Real Value

Grammar — Load key of section section from bank bank as real value
FlagsNative | Function

Returns a Real value contained in the chosen Bank at the specified Key of the specified Section.

# Arguments

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

Returns — fixed

native fixed BankValueGetAsFixed(
	bank b,
	string section,
	string key,
);

Category: [Bank / Store & Load](/galaxy/reference#bank-store &-load)

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10725

        if ((lv_itPlayer == 1) && (libCore_gv_dEBUGDebuggingEnabled == true) && (BankValueGetAsFlag(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "SavedHero") == true) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex") != 0)) {
            libUIUI_gv_uIPartyFrameMaxLevelForTeam[lp_team] = 0;
            libGame_gf_GrantXPToPlayer(BankValueGetAsFixed(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "HeroLevelXP"), lv_itPlayer, libGame_ge_XPSources_Debug);
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:2993

    // Implementation
    if ((BankKeyExists(lp_bank, lp_section, lp_key) == true)) {
        return BankValueGetAsFixed(lp_bank, lp_section, lp_key);
    }
    else {