UseItemByName

From Warcraft Wiki
Jump to navigation Jump to search

Uses the specified item.

UseItemByName(name[, target])

Arguments

name
string - name of the item to use.
target
string? : UnitId - The unit to use the item on, defaults to "target" for items that can be used on others.

Patch changes

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

See also