API TargetUnit

From Wowpedia
Jump to: navigation, search

Targets the specified unit.

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

Arguments

unit 
String - The unitId to select as a target.
name 
String - A string to match against the name of the intended target.
exactMatch 
Boolean - Whether to treat name as an exact match or not.

Patch changes