Lore archive · Warcraft Wiki, 2023 dump
API GetNumMacroItemIcons
Last wiki revision 2020-01-08
Returns the number of possible macro item icons. These icons differ from the normal macro icons in that they are icons for various items in the game -- potions, armor, etc., whereas normal macro icons are icons from actions and abilities such as spells or attacks.
numIcons = GetNumMacroItemIcons
- numIcons : Integer - Number of available macro item icons
local numIcons = GetNumMacroIcons for i=1,numIcons do DEFAULT_CHAT_FRAME:AddMessage(string.format("Icon %d: %s",i,GetMacroItemIconInfo(i))); end
Outputs the IDs and texture names for all available macro item icons to the default chat frame.
Source
https://warcraft.wiki.gg/wiki/API_GetNumMacroItemIcons · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.