Can someone help me make these scripts, please? I want to hide my level on my portrait and show the moonkin form ability like shown here and I also want to hide my targets level and the circle surrounding it on the portrait then same for my focus target.
gyazo. com/7ad27a48492973c4902924b25f6e8a55
I’m also trying to write all my /run scripts into an addon but I can’t figure out how to do it. I tried to use addon.bool by putting them all there and deleting the “/run” in the lines but it didn’t do anything when I used the addon.
/run PlayerFrame: SetScale(1.1)
/run TargetFrame: SetScale(1.1)
/run FocusFrame: SetScale(1.1)
/run PlayerName:Hide()
/run MiniMapTracking:Hide()
/run GarrisonLandingPageMinimapButton:Hide()
/run GameTimeFrame:Hide()
/run MinimapZoneTextButton:Hide()
/run MiniMapZoomIn:Hide()
/run MiniMapZoomOut:Hide()
/run MiniMapWorldMapButton:Hide()
/run MinimapBorderTop:Hide()
/run MainMenuBarArtFrame.LeftEndCap:Hide();MainMenuBarArtFrame.RightEndCap:Hide()
/run MicroButtonAndBagsBar:Hide()
/run StatusTrackingBarManager:Hide()
/run MainMenuBarArtFrameBackground:Hide()
/run ActionBarUpButton:Hide()
/run ActionBarDownButton:Hide()
/run RegisterStateDriver(StanceBarFrame, ‘visibility’, ‘hide’)
/run BuffFrame.SetPoint=BuffFrame.SetPoint f=function() BuffFrame:ClearAllPoints() BuffFrame:SetPoint(“BOTTOMRIGHT”,PlayerFrame,“BOTTOMRIGHT”,697,112) end f() hooksecurefunc(BuffFrame,“SetPoint”,function() f() end) BuffFrame:SetScale(1.2)
/run CharacterMicroButton:ClearAllPoints()
/run CharacterMicroButton:SetPoint(“CENTER”,-6000,0)
/run CharacterMicroButton:Setpoint=function() end
/run CompactPartyFrameMember2Name:SetAlpha(0)
/run CompactPartyFrameMember1Name:SetAlpha(0)
/run CompactPartyFrameMember3Name:SetAlpha(0)
/run MinimapZoomIn:Hide()
/run MinimapZoomOut:Hide()
/run TargetFrameTextureFrameName:SetAlpha(0)
/run FocusFrameTextureFrameName:SetAlpha(0)
/run MainMenuBarArtFrame.PageNumber:Hide()
/run TargetFrameToTTextureFrameName:SetAlpha(0)
/run FocusFrameToTTextureFrameName:SetAlpha(0)
Could someone help me write it into lua so the addon.bool will work correctly or a different method? Thank you.