Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-11-09, 06:08 PM   #9
Katae
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 208
Originally Posted by richerich View Post
Any idea how to make a frame hide/show in combat? like i have a dps frame, but i dont wanna see it when im not in combat
This should get you going
Code:
{ width=50, height=50,
  OnLoad=function(self)
    self:RegisterEvent'PLAYER_REGEN_ENABLED'
    self:RegisterEvent'PLAYER_REGEN_DISABLED'
    self:Hide()
  end,
  OnEvent=function(self) ToggleFrame(self) end
}
Originally Posted by richerich View Post
EDIT: Or rather, making it so it doesn't show unless it's updated, like if you are a healer, you dont want a dps frame showing, but want it show on a dps char. If you follow how i mean
You'll probably need to make a custom function to check if the character is a healer and not a deeps, probably by checking where they put their talent points.

Last edited by Katae : 10-11-09 at 06:19 PM.
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » Released AddOns » LitePanels - An art framework


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