wowpedia
Main Menu


Targets the specified unit.

TargetUnit(unit)
TargetUnit(name [, exactMatch])

Arguments

unit
string : UnitId - The unit id of the unit.
name
string - The name of the unit.
exactMatch
boolean? - true to check only units whose name exactly matches the name given; false to allow partial matches.

Patch changes

Bc icon Patch 2.0.1 (2006-12-05): Protected.