View Single Post
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