Quantcast
WoWInterface - View Single Post - How to get SpellID from SpellButton1..12? (Classic)
View Single Post
05-01-20, 01:49 PM   #2
Vrul
An Onyxian Warder
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 364
Those are FontStrings, try:
Code:
for index = 1, 12 do
    local spellButtonName = "SpellButton" .. index
    print(spellButtonName)
    print(_G[spellButtonName].SpellName:GetText())
    print(_G[spellButtonName].SpellSubName:GetText())
end
  Reply With Quote