Help with ipairs - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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

WoWInterface » Developer Discussions » Lua/XML Help » Help with ipairs

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off