Reply
 
Thread Tools Display Modes
Old 05-04-11, 04:45 PM   #1
CL27
A Defias Bandit
Join Date: May 2011
Posts: 2
Click through-able default unit frame

I'm looking for an add-on that can make the default player / enemy / focus frame click through-able. Is this possible to do?
CL27 is offline   Reply With Quote
Old 05-04-11, 07:40 PM   #2
SDPhantom
A Molten Giant
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 884
I don't know of an already existing addon that does this, but this code should do it.

Code:
PlayerFrame:EnableMouse(0);
PlayerFrameHealthBar:EnableMouse(0);
PlayerFrameManaBar:EnableMouse(0);

TargetFrame:EnableMouse(0);
TargetFrameToT:EnableMouse(0);
FocusFrame:EnableMouse(0);
FocusFrameToT:EnableMouse(0);
Note: There seems to be 2 FocusFrame objects defined in Blizzard's code, one at line 710 in TargetFrame.xml and the other at line 20 in FocusFrame.xml. I'm assuming the TargetFrame.xml is being used since there is no entry for FocusFrame.xml in FrameXML.toc or as an import in any XML file loaded from it.
__________________
"They say there's a fine line between genius and insanity.
I walk it like a drunk on the fogline."
-SDPhantom
SDPhantom is offline   Reply With Quote
Old 05-04-11, 07:42 PM   #3
CL27
A Defias Bandit
Join Date: May 2011
Posts: 2
That works, thank you very much!
CL27 is offline   Reply With Quote
Reply

Go BackWoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Click through-able default unit frame

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