View Single Post
03-26-11, 02:03 PM   #7
docsleazy
A Murloc Raider
Join Date: Mar 2011
Posts: 5
Originally Posted by Duugu View Post
I did a short test to prove this. It's exactly as expected.
Enable nameplates, place youself in front of 2+ units. Target a unit and use the following code snippet
Code:
for i = 2, WorldFrame:GetNumChildren() do 
    local frame = select(i, WorldFrame:GetChildren()) 
    local glowRegion = frame:GetRegions()
    if glowRegion then
        if frame:GetAlpha() < 1 then 
            frame:Hide()
        else
            frame:Show()
        end
    
    end
end
Nothing left except for your target. Not very usefull imho.
It's usefull for me easier to follow when i have about 10-15 other enemies around and I am trying to focus on one target in pvp... so when the person is running from me easier for me to chase them down.
  Reply With Quote