WoW:API UseItemByName: Difference between revisions
Jump to navigation
Jump to search
(New page: Uses an item, optionally on a specified target UseItemByName("name", "target") Arguments: * name - The name of the item to use (string) * target - The unit to use as the target...) |
m (Move page script moved page API UseItemByName to API UseItemByName without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{stub/API}} | |||
Uses an item, optionally on a specified target | Uses an item, optionally on a specified target | ||
Latest revision as of 04:47, 15 August 2023
Uses an item, optionally on a specified target
UseItemByName("name", "target")
Arguments:
* name - The name of the item to use (string) * target - The unit to use as the target of the item, if applicable (unitId)
- This function is protected and can only be called by the Blizzard user interface
