# Unit Progress (Percent)

Grammar — Progress of unit slot slot
FlagsNative | Function

Returns the unit progress in a training slot.

# Arguments

  • unit — Unit
  • int — Slot

Returns — fixed

native fixed UnitGetProgressComplete(
	unit inUnit,
	int inSlot,
);

Category: Unit / Progress And Queues

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L1302
UnitGetProgressComplete(EventUnitProgressUnit(), 1)
// L3196
UnitGetProgressComplete(EventUnitProgressUnit(), 1)
// L1302
UnitGetProgressComplete(EventUnitProgressUnit(), 1)
// L3196
UnitGetProgressComplete(EventUnitProgressUnit(), 1)
// L706
UnitGetProgressComplete(lp_neuxs, 1)
// L706
UnitGetProgressComplete(lp_neuxs, 1)

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L9189
UnitGetProgressComplete(libCOUI_gv_cU_TychusSquadBar, 1)