Right click Totem frame #1380


Open
  • KaraSaan created this issue Nov 3, 2022

    Would it be possible to make the Totem frames in PitBull work like the standard Totem frames?

    So a right click on the frame destroys the Totem/Statue.

     

    Never had a problem with this until now, as I used a macro to dismiss my Statue  (/click TotemFrameTotem1 RightButton), but Blizzard changed something in 10.0 and it currently doesn't work.

     

    I think having the option might be nice. 

     

    Thanks for the amazing work!

     

  • nebula169 posted a comment Nov 3, 2022

    looks like it's still protected, but the totem module is sorely outdated so I can probably convert it to use secure buttons.

     

    in the meantime, you can throw this in a random addon:

    CreateFrame("Button", "TotemFrameTotem1", nil, "SecureActionButtonTemplate");TotemFrameTotem1:SetAttribute("type", "destroytotem");TotemFrameTotem1:SetAttribute("totem-slot", 1)

     


    Edited Nov 3, 2022
  • KaraSaan posted a comment Nov 3, 2022

     Thanks for the answer, appreciate it :)


To post a comment, please login or register a new account.