# 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)
- 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
— None found —