Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 03/28/08, 4:12 PM   #961
Syeknom
Glass Joe
 
Gnome Rogue
 
Shadowsong (EU)
Originally Posted by Sovereignty View Post
Quick question:

I'm trying to create a script in eePanels that shows the frame when a target is selected and hides it when it's not. I've tried several things but am obviously missing a pretty simple step. How would I go about doing it?

Thanks
Setting the panel's Parent to the target frame will have the panel appear/disappear along with the frame. To find out what the target frame element is called, hover over it and type /print GetMouseFocus():GetName() - this'll return the name of the target frame which you can then tell the eePanel to inherit from.

If you are using Pitbull as your unit frames, however, it becomes a little less simple as Pitbull creates frames only when demanded and discards them afterwards. If you are using eePanels, this seems pretty impossible to get around - I had to upgrade to eePanels2 to do it. If you're asking about creating scripts though, it seems likely you already have version 2.

Version 2 has a checkbox called "Dynamic Frames Fix" which, when checked, attempts to allow parenting to Pitbull elements as normal. It certainly worked fantastically for me.

Offline
Reply With Quote
Old 03/28/08, 4:16 PM   #962
Sovereignty
Soda Popinski
 
Sovereignty's Avatar
 
Blood Elf Paladin
 
Draenor
Originally Posted by Syeknom View Post
Setting the panel's Parent to the target frame will have the panel appear/disappear along with the frame. To find out what the target frame element is called, hover over it and type /print GetMouseFocus():GetName() - this'll return the name of the target frame which you can then tell the eePanel to inherit from.

If you are using Pitbull as your unit frames, however, it becomes a little less simple as Pitbull creates frames only when demanded and discards them afterwards. If you are using eePanels, this seems pretty impossible to get around - I had to upgrade to eePanels2 to do it. If you're asking about creating scripts though, it seems likely you already have version 2.

Version 2 has a checkbox called "Dynamic Frames Fix" which, when checked, attempts to allow parenting to Pitbull elements as normal. It certainly worked fantastically for me.
I'm using eePanels2, but Parenting is not the solution I'm looking for. I, quite literally, wrote the book on eePanels usage...I just have no clue how to script in .lua . Thanks though!

Offline
Reply With Quote
Old 03/28/08, 4:30 PM   #963
Rannasha
Piston Honda
 
Tauren Druid
 
Draenor (EU)
Originally Posted by Gearknight View Post
Rannasha, have you tried uncheck the option "Clamp Frames to Screen" somewhere within Pitbull? That option is intended to make it impossible to drag things off the screen, so having it checked could cause you problems.

Of course, some addons may have that behavior enabled by default with no option available, but I know I've seen that checkbox within Pitbull.
Pitbulls default setting has that option unchecked and it gives the same problems, with the added complication that depending on where i drag the frames, they "jump" off the screen.

It seems that there are 2 "coordinate systems" that manage the WoW UI and the script i use to center some UI elements on my left monitor seems to mess up the correlation between the two systems. Some addons are unaffected and behave as you'd expect while others display this strange behavior with frames "jumping" to different positions more to the left of where they're intended to be.

Offline
Reply With Quote
Old 03/28/08, 4:37 PM   #964
Pantha
Glass Joe
 
Undead Priest
 
Outland (EU)
Hey really quick question looking some brilliant shiny person to tell me how i can change the fonts my pit bull is using, Before the patch it came with its own fonts in a "fonts" folder, i simple renamed the font i wanted to one that was already in their, now i don't see one, only three fonts able for me to chose from. My search cant find them so i can't rename and replace with what i want (think their from default wow folders sum where) anyway any help would be greatly appreciated. Thanks

Last edited by Pantha : 03/29/08 at 1:24 AM.

Offline
Reply With Quote
Old 03/28/08, 5:55 PM   #965
Ajuga
Piston Honda
 
Ajuga's Avatar
 
Undead Mage
 
Jaedenar (EU)
Originally Posted by Sovereignty View Post
Quick question:

I'm trying to create a script in eePanels that shows the frame when a target is selected and hides it when it's not. I've tried several things but am obviously missing a pretty simple step. How would I go about doing it?

Thanks
THIS_Hook = AceLibrary("AceAddon-2.0"):new("AceHook-2.1")

function THIS_Hook:OnShow(frame, ...)
       eePanel#:Show()
       return THIS_Hook.hooks[frame].OnShow(frame,...)
end

function THIS_Hook:OnHide(frame, ...)
       eePanel#:Hide()
       return THIS_Hook.hooks[frame].OnHide(frame,...)
end

THIS_Hook:HookScript(TARGET_FRAME_NAME, "OnShow")
THIS_Hook:HookScript(TARGET_FRAME_NAME, "OnHide")
Try this.

Offline
Reply With Quote
Old 03/29/08, 3:31 AM   #966
Renaud
Glass Joe
 
Undead Rogue
 
Kilrogg
I have a question about AG_Unitframes for a shaman. As I understand it the shaman totems now give an aura that can be clicked off to destroy individual totems. I cannot find a way to have AG_Unitframes show these (that are clickable). When I have a totem such as tremor totem up, I have no buff at all (and can only tell it is up by looking for the totem on the ground). Thanks, I'm sure I'm just missing something.

Offline
Reply With Quote
Old 03/29/08, 8:29 AM   #967
zlate
Glass Joe
 
Undead Warlock
 
Stormscale (EU)
New pitbull got me some trouble when i updated now i only think its my mana bar that dont show, i have tryed the short style and this custom but it still look the same. It say "Unknown tag CurMP".

[if not IsMana then
FractionalDruidMP
end]

http://img407.imageshack.us/img407/7...8132447dh3.jpg

Offline
Reply With Quote
Old 03/29/08, 9:08 AM   #968
Ajuga
Piston Honda
 
Ajuga's Avatar
 
Undead Mage
 
Jaedenar (EU)
Originally Posted by zlate View Post
New pitbull got me some trouble when i updated now i only think its my mana bar that dont show, i have tryed the short style and this custom but it still look the same. It say "Unknown tag CurMP".
As far as I've heard CurMP isn't in DogTags3.0 yet. Go check our very own The DogTags 3.0 Thread for updates.

Offline
Reply With Quote
Old 03/29/08, 11:21 AM   #969
trif
Glass Joe
 
Tauren Druid
 
Vashj (EU)
last patch i updated addons, and when i got killing blows i got quake sounds such as "first blood" "godlike" which were cool, this patch they seem to have dissapeared, and now clearcasting makes a very annoying noise when it procs. could someone let me know which addons cause this and how i can turn them off

thanks

Offline
Reply With Quote
Old 03/29/08, 5:40 PM   #970
Rafie
Glass Joe
 
Dwarf Warrior
 
Perenolde
So I downloaded Eepanels2 for the first time today now im getting all sorts of core errors, and I dont know what to do
Help would greatly appreciated. Thanks

Offline
Reply With Quote
Old 03/29/08, 6:17 PM   #971
Eyago
Von Kaiser
 
Eyago's Avatar
 
Undead Warlock
 
Arygos
Originally Posted by trif View Post
last patch i updated addons, and when i got killing blows i got quake sounds such as "first blood" "godlike" which were cool, this patch they seem to have dissapeared, and now clearcasting makes a very annoying noise when it procs. could someone let me know which addons cause this and how i can turn them off

thanks
Fairly certain the Quake KB sounds are from NECB, which you'll need to update.

Edit for post below: For the NECB thing, once you get the working 2.4 copy, there should be a on/off thing in the NECB options, believe it's on the right side. As far as the clearcasting, I'd first check and make sure it's not the sound the game makes for clearcasting? Other than that, I dunno, wish I was more helpful.

Last edited by Eyago : 03/30/08 at 4:05 AM.

Offline
Reply With Quote
Old 03/29/08, 9:04 PM   #972
trif
Glass Joe
 
Tauren Druid
 
Vashj (EU)
ahh, that explains that one, must be an option in there somewhere to turn on/off, any idea about the clearcasting proc sound? think thats necb too?

Offline
Reply With Quote
Old 03/30/08, 5:12 AM   #973
Maykel
Glass Joe
 
Dwarf Warrior
 
Kazzak (EU)
I'm not sure where to ask this but could anyone tell me what font is used for the unitframes/classtimer bars in this UI:

http://img87.imageshack.us/img87/551...8162420nt3.jpg

Offline
Reply With Quote
Old 03/30/08, 6:35 PM   #974
Kqpro
Glass Joe
 
Gnome Mage
 
Zangarmarsh
I have a question:

How do I make my Arena Unit Frames bigger?

There is no resize option. =(

Offline
Reply With Quote
Old 03/30/08, 8:12 PM   #975
Sovereignty
Soda Popinski
 
Sovereignty's Avatar
 
Blood Elf Paladin
 
Draenor
Originally Posted by Ajuga View Post
Try this.
Thanks very much!

Originally Posted by Maykel View Post
I'm not sure where to ask this but could anyone tell me what font is used for the unitframes/classtimer bars in this UI:

http://img87.imageshack.us/img87/551...8162420nt3.jpg
Those unitframes are definitely pitbull. The dot timers could be any number of things from Quartz, to DotTimer, to ClassTimers.

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Thread Tools