View Single Post
03-10-19, 08:44 AM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
You shouldn't need to create a frame and wait for an event as these frames are created/placed before addons are loaded.

Something like:
Lua Code:
  1. local function MoveIt(frame)
  2.     frame:ClearAllPoints()
  3.     frame:SetPoint("BOTTOMRIGHT", UIParent, "TOPRIGHT", -10, 10)
  4. end
  5. MoveIt(PlayerPVPIcon)
  6. MoveIt(FocusFrameTextureFramePVPIcon)
  7. MoveIt(TargetFrameTextureFramePVPIcon)
  8. for i= 1, 4 do
  9.     MoveIt(_G["PartyMemberFrame"..i.."PVPIcon"])
  10. end
  11. MultiBarRight:SetScale(0.7)
  12. MultiBarRight.SetScale = function() end
  13. MultiBarLeft:SetScale(0.7)
  14. MultiBarLeft.SetScale = function() end
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote