# Load Text Value
Grammar — Load key key of section section from bank bank as Text
Flags —Native
|Function
Returns a Text value contained in the chosen Bank at the specified Key of the specified Section.
# Arguments
bank
— Bankstring
— Sectionstring
— Key
Returns — text
native text BankValueGetAsText(
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
// L8991
BankValueGetAsText(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_1"))
// L8992
BankValueGetAsText(lp_sourceBank, lv__SectionName, (IntToString(lv_index) + "_2"))