Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-21-08, 02:41 PM   #1
BDelacroix
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 33
Secure Buttons Hiding and Showing

Ok, I'm going to describe what I'm trying to do in the hope that before I just give up on it that maybe someone can show me I'm wrong.

I understand the reason for secure templates were so that addons wouldn't do the "thinking" for the player. I'm cool with that.

What I wanted to do, though, I don't consider as thinking for the player. I had made a mod that used one button to place traps. To change the trap that the button represented you just mousewheel over it. That isn't "thinking" for the player to me.

Thing is, since I'm pretty sure I can't change the attribute of a secure button in combat, I made (up to 5) buttons and just hid the ones that I wasn't currently on. It amounts to the same thing. As the mousewheel is scrolled over the button, it just hides the current trap button and shows the next one.

However, this doesn't work in combat.

So, I either have to just give up and have all 5 buttons showing all the time, which is ok but not what I wanted or I am wrong about not being allowed to change the attribute("spell",---) of the button.

Can anyone tell me I'm wrong and can actually change the attribute in combat or show/hide status somehow?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Secure Buttons Hiding and Showing


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