Targets a unit. Passing
nil is equivalent to calling
See also Targeting functions.
unit- A unit to target (
name- Name of a unit to target (
exactMatch- True to check only units whose name exactly matches the
namegiven; false to allow partial matches (