Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetMacroSpell

Last wiki revision 2022-08-01

Returns information about the spell a given macro is set to cast. id = GetMacroSpell(slot or macroName)

The sole argument has two forms:

  • slot: - The macro slot to query.
  • macroName: - The name of the macro to query.
  • id: - The ability's spellId.
  • Action-bar addons use this function to display dynamic macro icons, tooltips and glow effects. As a macro's cast sequence changes, this function indicates which will be cast next.

Source

https://warcraft.wiki.gg/wiki/API_GetMacroSpell · 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.