# 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)
- 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
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:8739
}
else {
return BankValueGetAsString(lp_bank, lp_section, lp_key);
}
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:8993
lv_title = BankValueGetAsText(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_1"));
lv_description = BankValueGetAsText(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_2"));
lv_icon = libCamp_gf_TS_Tutorial_ConvertStringToImage(BankValueGetAsString(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_3")));
lv_movie = libCamp_gf_TS_Tutorial_ConvertStringToMovie(BankValueGetAsString(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_4")));
libCamp_gf_TS_Tutorial_AddToHistory(lv_title, lv_description, lv_icon, lv_movie);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:8994
lv_description = BankValueGetAsText(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_2"));
lv_icon = libCamp_gf_TS_Tutorial_ConvertStringToImage(BankValueGetAsString(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_3")));
lv_movie = libCamp_gf_TS_Tutorial_ConvertStringToMovie(BankValueGetAsString(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_4")));
libCamp_gf_TS_Tutorial_AddToHistory(lv_title, lv_description, lv_icon, lv_movie);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14055
}
else {
return BankValueGetAsString(lp_bank, lp_section, lp_key);
}
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:477
lib281DEC45_gf_ZSS_LoadConversations(lv_storyBank, "StoryConversations");
lv__SectionName = "Debug";
lib281DEC45_gv_zSSX_DebugStoryScene = UserDataInstanceFromReference(BankValueGetAsString(lv_storyBank, lv__SectionName, "DebugStoryScene"));
if ((lib281DEC45_gf_ZSS_InNewStorymodeInstance() == true)) {
if ((libSwaC_gf_MissionStatusCheck("ZChar1", libSwaC_ge_MissionStatus_Completed) == true)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7960
}
else {
return BankValueGetAsString(lp_bank, lp_section, lp_key);
}
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:710
lv__SectionName = "Misc";
if ((BankValueGetAsString(libVoiC_gf_StoryBank(), lv__SectionName, "CurrentLocation") != "")) {
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:3004
// Implementation
if ((BankKeyExists(lp_bank, lp_section, lp_key) == true)) {
return BankValueGetAsString(lp_bank, lp_section, lp_key);
}
else {
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3872
}
else {
return BankValueGetAsString(lp_bank, lp_section, lp_key);
}
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4831
}
else {
return BankValueGetAsString(lp_bank, lp_section, lp_key);
}
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6770
}
else {
return BankValueGetAsString(lp_bank, lp_section, lp_key);
}
}
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:783
// Automatic Variable Declarations
// Implementation
return BankValueGetAsString(libWCdr_gv_w3CBank[lp_player], lp_section, lp_key);
}