Quantcast
No ID for @mouseover nameplate of current target - WoWInterface
Thread Tools Display Modes
10-03-15, 11:35 PM   #1
risendevil
A Defias Bandit
Join Date: Oct 2015
Posts: 2
No ID for @mouseover nameplate of current target

I found a wierd issue, which might be related to some add on I have, but it isn't a big enough nuisance I'm ignoring it for now.

For WeakAura 2, I borrowed some code to make a mouseover that would put a red alert at my cursor when a mob is in execute range.

It worked fine, but I noticed it didn't work when I targetted the name plate. Much frustration later... I discovered that I was being told there was no unit under the mouse when I had it over the name plate.... but only if the nameplate was of the mob I was currently targetting.

Any other mobs' nameplate would work as expected. Since I was using this just as a quick way of mouseover sniping mobs near execute range that were not my target, the inability to get an alert when hovering over my target's nameplate isn't hurtful, but... I'm curious.
  Reply With Quote
10-04-15, 12:48 AM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,059
The nameplate for your target is non-interactive, this is (most likely) to allow you to target something behind it.

You could simply fall back on your target's health if you have no mouseover unit.
  Reply With Quote
10-04-15, 11:07 AM   #3
risendevil
A Defias Bandit
Join Date: Oct 2015
Posts: 2
That makes sense, thanks.

I hadn't yet thought of doing that, but that could work with my macros as fall back.
Not sure though it makes sense in a visual UI sense though, harder to automatically parse the switching between realizing whether it is giving me information based on mouseover or default.

Oh wait, I don't want it to work like that, I worked it so hard to make sure that when there's no unit hovered it shows nothing.

No worries, thanks again
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » No ID for @mouseover nameplate of current target

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