View Single Post
11-07-23, 04:00 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,943
Looks like the function has multiple return values. In the first code block you were printing everything that the function returns, on the second one you are grabbing the first value ( type ) and not the second value (id)

actionType, id, subType = GetActionInfo(slot)

https://warcraft.wiki.gg/wiki/API_GetActionInfo
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote