Quantcast WoWInterface - View Single Post - How to make a visible window? image link in disc
View Single Post
02-21-17, 10:31 AM   #17
I did that?
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,216
Originally Posted by wille480 View Post
Ah okey thank you! , i always imagine doing a foor loop like.

For i=0, 2 do

local name, _, _, _, _, duration, expires = UnitDebuff("raid1",debuffs[i])
for i=1, 2 do

lua is 1 based but that would have worked also as the keys will be created when you add items to the table. If you print the key in the pairs loop it will print 1, 2 etc.
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote