Thread Tools Display Modes
03-04-10, 05:43 AM   #1
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
Changing click behavior

I'm basically trying to change the behavior of raid frames when clicking on them but I am not sure how I should delay the changing until after the object has been initialized so I can replace oUF's *type1=target.

I was wondering how would you go about changing the left-click so it doesn't target the person?
__________________
I stopped playing back World of Warcraft in 2010 and I have no plans on returning.
This is a dead account and if you want to continue any of my addons or make a fork then feel free to do so.
This is your permission slip.

If you need to contact me, do so on Twitter @v6ooo

Best regards, v6.

Last edited by v6o : 03-04-10 at 06:01 AM. Reason: Update
  Reply With Quote
03-04-10, 01:41 PM   #2
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
You can currently only do it with a init callback (oUF:RegisterInitCallback(func)). It's so to say the last set of functions that get called on any oUF object.

I'll however review the logic order of those function in 1.4 and possibly move some (more) of it above the style function.
__________________
「貴方は1人じゃないよ」
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Changing click behavior


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