Yes, it is me again with a crazy question! I was wondering how I could implement this function into the oUF_TotemBar.lua. I have no idea what else I should add... maybe someone can give me an idea on how to do this? :O Im trying to make it to where you right click and it destroys the totem, here is my code and its ugly and im not sure what else i have to add
Code:
OnClick = function(self,TotemBar)
if button == "RightButton" then
DestroyTotem(1);
DestroyTotem(2);
DestroyTotem(3);
DestroyTotem(4);
end
end
Adding this to the oUF TotemBar and im trying, but its like i have to add something else to make it to where its not clicking through? THanks for any help and sorry for me being so bothersome with questions!