API UseItemByName

104,546pages on
this wiki
Add New Page
Add New Page Talk0

Uses an item, optionally on a specified target

UseItemByName("name", "target")


   * 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

Also on Fandom

Random Wiki