Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-11-09, 01:12 PM   #1
Rhamses
A Theradrim Guardian
Join Date: Jun 2009
Posts: 61
xml button, left and right?

I have an addon with a button defined in XML. It is registered for OnClick.

I have tried to remap with OnClick(self, "button", down)

•<cit>LeftButton</cit>

•<cit>RightButton</cit>

But The closest I can get is changing the reply to the left button only rather than both. I have also tried to remap while in lua with

ExecuteWarning_Pet_BuffFrame:SetAttribute('type1', 'spell')
ExecuteWarning_Pet_BuffFrame:SetAttribute('spell', "Health Funnel")
ExecuteWarning_Pet_BuffFrame:SetAttribute('type2', 'spell')
ExecuteWarning_Pet_BuffFrame:SetAttribute('spell', "Life Tap")


that does not work. It will only life tap. If I flip flop it will only life funnel.

I am sure I can make a work around, but I am also trying to learn as I go.

thanks,
Rhamses
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Developer Chat » xml button, left and right?


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