Quantcast WoWInterface - View Single Post - oUF - Layout discussion
View Single Post
Unread 10-05-08, 10:22 AM   #34
A Frostmaul Preserver
Caellian's Avatar
Join Date: May 2006
Posts: 281
...I am not editing, i am not editing, i am not editing...

Nvm the above, actually i didn't even need to use that, i just edited my current OnEnter/OnLeave, thanks for the hints.

	self:SetScript("OnEnter", function(self)
		if(unit == 'player') then self.Experience:Show() end

	self:SetScript("OnLeave", function(self)
		if(unit == 'player') then self.Experience:Hide() end
Originally Posted by Slakah View Post
You'll need to set the alpha to 0 when it's loaded as well, or else it will be shown until moused over.
I've added self.Experience:Hide() to the exp block but it still is shown on login though.
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }

Last edited by Caellian : 10-05-08 at 10:29 AM.
Caellian is offline