# Restore Unit

Grammar — Restore key of section section from bank bank for player player at position facing angle
FlagsNative | 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 — Bank
  • string — Section
  • string — Key
  • int — Player
  • point — Position
  • fixed — Angle

Returns — unit

native unit BankValueGetAsUnit(
	bank b,
	string section,
	string key,
	int player,
	point p,
	fixed facing,
);

Category: [Bank / Store & Load](/galaxy/reference#bank-store &-load)

# Examples

— None found —