Lore archive · Warcraft Wiki, 2023 dump
API GetExtraBarIndex
Last wiki revision 2022-08-01
Returns the action bar page containing the extra bar/button. extraPage = GetExtraBarIndex
- extraPage: - index of the action bar page containing the extra action button.
The following snippet prints out the name of your current extra button ability: local extraPage = GetExtraBarIndex if HasExtraActionBar then local slot = extraPage*12 + 11 local action, id = GetActionInfo(slot) if action == "spell" then print("Your extra ability is: " .. GetSpellInfo(id)) else print("The thing on your extra action button is not a spell. How odd.") end else print("You don't have an extra bar at the moment.") end
Source
https://warcraft.wiki.gg/wiki/API_GetExtraBarIndex · 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.