# Charge Regen Remaining For Unit

Grammar — Charge regen time remaining of charge inCharge on unit inUnit
FlagsNative | Function

Returns the charge regen time remaining for the specified unit charge link.

# Arguments

  • unit — Unit
  • string [ charge ] — Charge

Returns — fixed

native fixed UnitGetChargeRegen(
	unit inUnit,
	string inCharge,
);

Category: Unit / Charges And Cooldowns

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L5831
UnitGetChargeRegen(lp_inUnit, lp_inCharge)
// L4969
UnitGetChargeRegen(lp_inUnit, lp_inCharge)

# mods/heroesdata.stormmod

HeroesLib.galaxy

// L2870
UnitGetChargeRegen(lp_unit, lv_chargeLink)

# mods/heroesdata.stormmod

UILib.galaxy

// L6854
UnitGetChargeRegen(lp_unit, lv_chargeLink)