Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
This function is restricted.
|
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[]
Patch 2.0.1 (2006-12-05): Protected.