WoWWiki

This wiki contains inaccurate and out-of-date information. Please head over to https://wowpedia.fandom.com for more accurate and up-to-date game information.

READ MORE

WoWWiki
Advertisement

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
Advertisement