# Set Weapon Cooldown Remaining

Grammar — Set the cooldown remaining for weapon index on unit to remaining.
FlagsNative | Action

Set the remaining cooldown to 0 to let the weapon fire as soon as possible.

# Arguments

  • unit — Unit
  • int — Index
  • fixed — Remaining

Returns — void

native void UnitWeaponSetPeriodRemaining(
	unit inUnit,
	int inIndex,
	fixed inRemaining,
);

Category: Unit / Weapons

# Examples

— None found —