Begins auto-attack against a specified target


See also Combat functions.

Signature:

StartAttack("unit") or StartAttack("name")

Arguments:

  • unit - A unit to attack (string, unitID)
  • name - The name of a unit to attack (string)
This function is protected and can only be called by the Blizzard user interface