Reply
 
Thread Tools Display Modes
Old 01-24-13, 09:31 AM   #1
alantwm
A Kobold Labourer
Join Date: May 2011
Posts: 1
Icon above focus target visible only to me

Hello,

Is there a macro/script/addon that would enable me to add an icon above my focus target that is visible only to me? I do this because I'd like to know who and where my focus target is by looking at the nameplates. I change it around constantly and I focus mainly on the nameplates.

I know you can add a raid icon above a target's head but that is visible to all my party members. So, with the frequency of changing focus targets in arena, I'm afraid it'll give my party members a headache.

Thanks.
Al
alantwm is offline   Reply With Quote
Old 01-24-13, 12:01 PM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,176
Should be possible with a nameplate mod like Target Nameplate Indicator
I'm not aware of an existing one with support for the focus unit though.
Dridzt is offline   Reply With Quote
Old 01-24-13, 08:50 PM   #3
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 3,675
I haven't looked at that addon's code, but I'd think you could make it work for focus instead of target simply by replacing all instances of "target" with "focus".
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote
Old 01-25-13, 01:20 AM   #4
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,176
I took a quick look, it's not that simple.

Without testing maybe this set of changes will suffice.
  • Replace instances of "target" with "focus" (as already said)
  • Replace instances of "PLAYER_TARGET_CHANGED" with "PLAYER_FOCUS_CHANGED"
  • Replace instances of LibNameplate:GetTargetNameplate() with LibNameplate:GetNameplateByUnit("focus")
  • Add LibNameplate.RegisterCallback(addon, "LibNameplate_NewNameplate", OnTargetChanged)
Overall I think it's best to submit a feature request to Choonster as this probably goes beyond what an addon user could be expected to do.
Dridzt is offline   Reply With Quote
Old 01-28-13, 04:15 PM   #5
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 2,865
That alone would make for a really nice focus target addon.
__________________
♪~ ( ) I My Sonos!
Petrah is offline   Reply With Quote
Reply

Go BackWoWInterface » AddOns, Compilations, Macros » Macro Help » Icon above focus target visible only to me

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off