Hidding Names script/addons
Hello guys! sorry for my english :(
I'm here to request your help :D
I've been looking around to find an addon/script which can hide my name/target name/target of target name and i did!!
I'm now able to hide all the above with a script but there's still some remaining.
/script PlayerName:Hide();
/run TargetFrameToTTextureFrameName:Hide()
/run TargetFrameTextureFrameName:Hide()
I'm searching for something that could hide the names of my party/raid1-2 (and their pets) on DEFAULT blizzard frame and hides names of my ennemies on the default arena unit frames aswell.
Focusframe would be a great plus aswell :D
Unfortunatly i'm not able to achieve it...
I found some cool stuff but for some reason it's not working and i'm really bad with programming....
I've mixed it up a little to try some stuff but none worked. I think it might be because those scripts are from after 3.3.5, so maybe coding names have changed, i don't know..
I found those scripts to hide party 1-2 only, but even this doesnt work :(
Script 1:
local function hideNames()
local i=1
local name
repeat
name = _G["CompactRaidFrame"..i.."Name"]
if name then
name:Hide()
end
i=i+1
until not name
end
-- run above when AddUnitFrame called
hooksecurefunc("CompactRaidFrameContainer_AddUnitF rame", hideNames)
-- run it manually to hide names of any already created
hideNames()
Script 2:
hooksecurefunc("CompactUnitFrame_UpdateName",funct ion(frame)
if frame and not frame:IsForbidden() then
local frame_name = frame:GetName()
if frame_name and frame_name:match("^CompactRaidFrame%d") and frame.unit and frame.name then
local unit_name = GetUnitName(frame.unit,true)
if unit_name then
frame.name:Hide()
end
end
end
end)
Do you think it is theorically possible to turn all those requests into an addon? Or do i have to press the macro every time i log in?
I hope it is understandable!
Thanks for your time :D