# Restore Unit
Grammar — Restore key of section section from bank bank for player player at position facing angle
Flags —Native
|Action
Restores a unit contained in the chosen Bank at the specified Key of the specified Section. The unit will be created for the specified Player, at the specified Position, facing a specified Angle.
# Arguments
bank
— Bankstring
— Sectionstring
— Keyint
— Playerpoint
— Positionfixed
— Angle
Returns — unit
native unit BankValueGetAsUnit(
bank b,
string section,
string key,
int player,
point p,
fixed facing,
);
# 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
— None found —