WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Icon above focus target visible only to me (https://www.wowinterface.com/forums/showthread.php?t=45721)

alantwm 01-24-13 10:31 AM

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

Dridzt 01-24-13 01:01 PM

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.

Phanx 01-24-13 09:50 PM

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".

Dridzt 01-25-13 02:20 AM

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.

Petrah 01-28-13 05:15 PM

That alone would make for a really nice focus target addon.


All times are GMT -6. The time now is 05:55 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI