# Load String Value
Grammar — Load key key of section section from bank bank as a String
Flags —Native
|Function
Returns a String value contained in the chosen Bank at the specified Key of the specified Section.
# Arguments
bank
— Bankstring
— Sectionstring
— Key
Returns — string
native string BankValueGetAsString(
bank b,
string section,
string key,
);
# Related
Category: [Bank / Store & Load](/galaxy/reference#bank-store &-load)
- [F] —
void
— Store Boolean — ( BankValueSetFromFlag ) - [F] —
void
— Store Integer — ( BankValueSetFromInt ) - [F] —
void
— Store Point — ( BankValueSetFromPoint ) - [F] —
void
— Store Real — ( BankValueSetFromFixed ) - [F] —
void
— Store String — ( BankValueSetFromString ) - [F] —
void
— Store Text — ( BankValueSetFromText ) - [F] —
void
— Store Unit — ( BankValueSetFromUnit ) - [F] —
bool
— Load Boolean Value — ( BankValueGetAsFlag ) - [F] —
int
— Load Integer Value — ( BankValueGetAsInt ) - [F] —
point
— Load Point Value — ( BankValueGetAsPoint ) - [F] —
fixed
— Load Real Value — ( BankValueGetAsFixed ) - [F] —
string
— Load String Value — ( BankValueGetAsString ) - [F] —
text
— Load Text Value — ( BankValueGetAsText ) - [F] —
unit
— Restore Unit — ( BankValueGetAsUnit ) - [F] —
unit
— Last Restored Unit — ( BankLastRestoredUnit )
# Examples
# campaigns/libertystory.sc2campaign
// L8739
BankValueGetAsString(lp_bank, lp_section, lp_key)
// L8993
BankValueGetAsString(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_3"))
// L8994
BankValueGetAsString(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_4"))
# campaigns/swarmstory.sc2campaign
// L14055
BankValueGetAsString(lp_bank, lp_section, lp_key)
# campaigns/swarmstoryutil.sc2mod
// L477
BankValueGetAsString(lv_storyBank, lv__SectionName, "DebugStoryScene")
# campaigns/voidstory.sc2campaign
// L7960
BankValueGetAsString(lp_bank, lp_section, lp_key)
# campaigns/voidstory.sc2campaign
// L710
BankValueGetAsString(libVoiC_gf_StoryBank(), lv__SectionName, "CurrentLocation")
# mods/heroesdata.stormmod
// L3004
BankValueGetAsString(lp_bank, lp_section, lp_key)
# mods/missionpacks/campaigncommon.sc2mod
// L3872
BankValueGetAsString(lp_bank, lp_section, lp_key)
# mods/starcoop/starcoop.sc2mod
// L4831
BankValueGetAsString(lp_bank, lp_section, lp_key)
# mods/voidprologue.sc2mod
// L6770
BankValueGetAsString(lp_bank, lp_section, lp_key)
# mods/warcoop/warcoopdata.sc2mod
// L783
BankValueGetAsString(libWCdr_gv_w3CBank[lp_player], lp_section, lp_key)