Method Unit:SetAttackTimer [-] [+]
Set the Unit's attack timer of given [WeaponAttackType] to given time in milliseconds.
enum WeaponAttackType : uint8
{
BASE_ATTACK = 0,
OFF_ATTACK = 1,
RANGED_ATTACK = 2,
MAX_ATTACK
};
Synopsis
Unit:SetAttackTimer( type, time )
Arguments
WeaponAttackType type- See method description.
number timeValid numbers: integers from 0 to 4,294,967,295.
Returns
Nothing.