# Load Real Value
Grammar — Load key of section section from bank bank as real value
Flags —Native
|Function
Returns a Real value contained in the chosen Bank at the specified Key of the specified Section.
# Arguments
bank
— Bankstring
— Sectionstring
— Key
Returns — fixed
native fixed BankValueGetAsFixed(
bank b,
string section,
string key,
);
# Related
Category: [Bank / Store & Load](/galaxy/reference#bank-store &-load)
- Store Boolean —
void
— BankValueSetFromFlag - Store Integer —
void
— BankValueSetFromInt - Store Point —
void
— BankValueSetFromPoint - Store Real —
void
— BankValueSetFromFixed - Store String —
void
— BankValueSetFromString - Store Text —
void
— BankValueSetFromText - Store Unit —
void
— BankValueSetFromUnit - Load Boolean Value —
bool
— BankValueGetAsFlag - Load Integer Value —
int
— BankValueGetAsInt - Load Point Value —
point
— BankValueGetAsPoint - Load Real Value —
fixed
— BankValueGetAsFixed - Load String Value —
string
— BankValueGetAsString - Load Text Value —
text
— BankValueGetAsText - Restore Unit —
unit
— BankValueGetAsUnit - Last Restored Unit —
unit
— BankLastRestoredUnit
# Examples
mods/heroesdata.stormmod — base.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.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:2993
// Implementation
if ((BankKeyExists(lp_bank, lp_section, lp_key) == true)) {
return BankValueGetAsFixed(lp_bank, lp_section, lp_key);
}
else {