View Single Post
11-04-18, 04:07 AM   #3
Daywrecker
A Murloc Raider
Join Date: Nov 2018
Posts: 5
Thank you ever so much. I have no experience coding with Lua or WoW addons but with your help I've progressed.

I wanted to put the function into a macro to emulate the setup that Tournament Arena players are required to abide where they are not allowed any addons. So instead of using a .lua I am putting them in a macro.

I'm trying:

/run MultiBarBottomRight:HookScript("OnHide", function(f) f:Show() end)

Macro1:

/run MultiBarBottomRight:ClearAllPoints();
/run MultiBarBottomRight:SetPoint("CENTER",0,200) UIPARENT_MANAGED_FRAME_POSITIONS["MultiBarBottomRight"] = nil;
/run MultiBarBottomRight:HookScript("OnHide", function(f) f:Show() end)

Macro2:

/run MultiBarBottomRight:Show()
/run MultiBarBottomRight:SetScale(1.2);
/run SetCVar ("nameplateSelfTopInset", .54)
/run SetCVar ("nameplateSelfBottomInset", .40)

This vanishes during combat. It seems that when the 3 second buff Subterfuge falls off MultiBarBottomRight vanishes.

"MultiBarBottomRight:Show()" will not function during combat so this will not work.

Last edited by Daywrecker : 11-04-18 at 05:55 AM.
  Reply With Quote