Quantcast WoWInterface - View Single Post - My CombatIndicator spawns "behind" the frame.
View Single Post
05-11-18, 01:49 PM   #3
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 783
or make a invisible frame, that works too

Lua Code:
  1. local InvisFrame = CreateFrame("Frame", nil, self)
  2. InvisFrame:SetFrameLevel(Health:GetFrameLevel() + 5)
  3. InvisFrame:SetAllPoints()
  4.  
  5. local Combat = InvisFrame:CreateTexture(nil, "OVERLAY")
  6. Combat:Size(20, 20)
  7. Combat:Point("TOP", self, 0, 9)

Last edited by Aftermathhqt : 05-11-18 at 01:57 PM.
  Reply With Quote