WoWInterface - View Single Post - Help with ipairs
View Single Post
07-21-17, 04:28 AM   #1
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 24
Help with ipairs

Hi I'm playing around with ipairs and DK runes trying to set the alpha of the individual runes using it but I can't figure out how to use it properly

local runeID = {1,2,3,4,5,6}
for index,value in ipairs(runeID) do
	local start, duration, runeReady = GetRuneCooldown(value)
	if runeReady == false then
Is sort of what I want but it obviously doesn't work, how do I use the value in a frame name without breaking the entire thing?

(RHNoCombatAlpha is a variable set in another part of the lua file)
  Reply With Quote