# Store Real
Grammar — Store real value as key of section section in bank bank
Flags —Native
|Action
Stores a Real value to the specified Bank. The Section and Key parameters determine where the value is stored in the bank file, and must be used to load the value later. You must save a bank after storing a value, otherwise the value will not exist to load later.
# Arguments
bank
— Bankstring
— Sectionstring
— Keyfixed
— Value
Returns — void
native void BankValueSetFromFixed(
bank b,
string section,
string key,
fixed value,
);
# 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/UILib.galaxy:2026
BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SpawnAtCamera", libUIUI_gv_uIDebugPanelSpawnAtCamera);
BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SavedHero", libUIUI_gv_uIDebugPanelSavedHero);
BankValueSetFromFixed(lv_localBank, "Debug Menu Options", "HeroLevelXP", libCore_gf_GetTotalXPForLevel(FixedToInt(libNtve_gf_DialogItemValue(libUIUI_gv_uIDebugPanel.lv_levelSlider, lp_localPlayer))));
BankValueSetFromInt(lv_localBank, "Debug Menu Options", "HeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));
BankValueSetFromInt(lv_localBank, "Debug Menu Options", "SkinIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, 1));