WoW:API UseAction: Difference between revisions

m
there are only 120 slots, if you try access anything higher it will fail.
m (New link to reference slot ids)
m (there are only 120 slots, if you try access anything higher it will fail.)
Line 19: Line 19:
  function reportActionButtons()
  function reportActionButtons()
   local lActionSlot = 0
   local lActionSlot = 0
   for lActionSlot = 1, 128 do
   for lActionSlot = 1, 120 do
   local lActionText = GetActionText(lActionSlot)
   local lActionText = GetActionText(lActionSlot)
   if not(lActionText) then lActionText = "" end
   if not(lActionText) then lActionText = "" end
Anonymous user