Thread Tools Display Modes
05-04-07, 10:30 AM   #1
Phymia
A Deviate Faerie Dragon
Join Date: Mar 2007
Posts: 16
Mouseover Alpha


At first here is what i wanna do:
I wanna create an AddOn that changes the Alpha of some UIElements on different Events. Most of it works fine right now but with one thing i dunno how to implement it.
And here comes my Problem / Question:
I want to change Alpha of Bartender Bars when mouseover, but i dunno what Event i have to use or where to write it. Does anyone know how to do?

hope u can help me
__________________
sorry 4 my bad english
  Reply With Quote
05-04-07, 11:01 AM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Bartender already has that function. It's the fade out option.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
05-04-07, 11:20 AM   #3
Phymia
A Deviate Faerie Dragon
Join Date: Mar 2007
Posts: 16
Thanks for your answer Seerah,

but I'm not sure if the function I've found is the same you mean, but if it is so it's not that what i'm searching for. I hides the Bars instantly and doesn't shows them in combat. Also it only affects one Bar and I use two bars and want to show show the second also when i hover the first.
__________________
sorry 4 my bad english
  Reply With Quote
05-04-07, 10:28 PM   #4
Riraito
An Aku'mai Servant
 
Riraito's Avatar
Join Date: Dec 2006
Posts: 32
hmm I think this might be what your talking about

nameoftheframeyouwannachange:SetScript("OnEnter",function() self:SetAlpha(.5) end);
__________________
  Reply With Quote
05-04-07, 10:56 PM   #5
Dreadlorde
A Pyroguard Emberseer
 
Dreadlorde's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 2,302
aren't we the LUA genius

/end sarcasm
__________________

Funtoo - Plan 9 - Windows 7
  Reply With Quote
05-04-07, 11:17 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
alright, you can stop trolling now
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
05-05-07, 05:07 AM   #7
Phymia
A Deviate Faerie Dragon
Join Date: Mar 2007
Posts: 16
Originally Posted by Riraito
hmm I think this might be what your talking about

nameoftheframeyouwannachange:SetScript("OnEnter",function() self:SetAlpha(.5) end);
hm doesn't works^^
i think i'll stop trying this for a while
thanks for your answers
__________________
sorry 4 my bad english
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Mouseover Alpha


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