Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-13-10, 08:12 AM   #1
Ereki
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 25
Using a value in a frame name

Hellor everyone, I'm trying to use a vaule I'm getting from an event to modify a frame name. But I don't really know how and I can't seem to find any info about it.
Code:
elseif (event == "RUNE_POWER_UPDATE" and InCombatLockdown()) and not UnitInVehicleControlSeat("player"))
	local runeIndex, isEnergize = ...
				
	if isEnergize == 1 then
		RuneButtonIndividualX:SetAlpha(RHaic)
How can you change X to be runeIndex? I realise you can't just do RuneButtonIndividualruneIndex since that would be kinda, well weird. Since the EU servers is down right now so I can't test anything so I went here and now I'm hoping for a quick answer

Thanks in advance
Ereki
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Using a value in a frame name

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