Download
(55Kb)
Download
Updated: 08-29-16 02:40 PM
Pictures
File Info
Compatibility:
Legion (7.0.3)
Updated:08-29-16 02:40 PM
Created:07-18-16 11:05 AM
Downloads:2,820
Favorites:14
MD5:
Categories:Unit Mods, Combat Mods

iTargetingFrames

Version: v0.9-1-g6806144
by: Ironi [More]

Unfortunately nameplate unitIDs aren't valid targets anymore in 7.1 because blizzard didn't like the idea of grids like iTF, so iTF doesn't work anymore.
Mirrors nameplate units into static grid with different indicators
use /itf or /itargetingframes to open config window

If you encounter an lua error or you feel like the addon is missing something, write a ticket or leave a comment below.

Clickable unitframes with

  • Unit Name
  • Cast bar
  • Health bar
  • Debuffs (with spell name or spell id blacklisting)
    • Duration text
    • Stack count
    • Flashing for < X duration
  • Click-to-cast (general, class, spec specific bindings)
    • Cast spell
    • Macro text

Conditionals for indicators:
  • Range
  • Unit out of combat
  • Current target
  • Focus target
  • Threat
    • Losing aggro
    • Gaining aggro
    • Aggro
  • Priority NPC
  • Custom
    • Usage: function(unitID) <stuff> return true end

Indicators
  • Glow
    • Left
    • Right
    • Bottom
    • Top
  • Border
  • Healthbar
  • Frame opacity

Default layout & indicators explained
Custom conditional examples

almost default layout: link
addon in use by Juzu: link (not using default layout)

v0.9-1-g6806144:
Add nil check to UnitName()

v0.9:
Options: Change font to cope with utf8 chars
Finish writing detachable cast bar
Add utf8 support
Fix few options
Add zhCN and zhTW locales
Options: add global options for Font and Texture
Options: fix health text font selection
+stuff

v0.8-8-gaf68d82:
Fix 'Unknown' unit names
Options: add toggle to enable/disable health text
Custom conditionals: added new parameter , its a table containing: name (string), guid (string), npcid (number), class (string, classFileName), health (current %, number 0-100). Usage: function(unitID, data) if data.health <35 then.....
Code optimizing: Don't update hidden frames
Custom conditional templates: Update to use data.x
Options: fix font flag for duration text & stack text
Options: add font flag options for Name/Cast text Add health text

v0.8-5-g46ffe85:
Options: added 'Only show in combat' (default: off)

v0.8-4-gd61e546:
Options: add 'Load For' option to select specs to load custom conditionals for specific classes only
Options: add 'Load Template' menu to copy custom conditional template code
Options: fix menus not updating without reloading the page
Options: add aura spacing (default:1) lower default aura spacing from 2 -> 1
Default layout: change default width from 80 to 83
Options: add different options to sort debuffs (time/name & ascending/descending
Aura blacklist: add Drain Soul (198590)

v0.8:
Options: rename 'Show Background' to 'Show maximum size'
Options: allow scrolling with font and texture selections
Options: add font reviews to font selections
Custom Conditionals: optimize memory usage
Options: add option to abbreviate names (default:off)
Options: fix some frame position & size related bugs (not updating without reloadui)
Options: custom conditional: name doesn't require pressing enter anymore
Options: custom conditional: Add New button doesn't reset the page unless you successfully add new conditional
Make unitframes dynamic, when one fades it will be filled by another, IF there is one outside of currently shown units (units will NOT move while they are shown)
Options: add option for maximum amount of enemies (default: 10)
Options: add only show enemies option (default: true)

v0.7-6-g7b303b6:
Aura - Flashing: recolor duration text when flashing
Auras:fix duration info for auras without duration & sort them last
Frame: split spacing option into Vertical&Horizontal spacing

v0.7-3-g583a334:
cleaning up after testing is a bad idea...

v0.7-2-g0c24079:
Auras: fix position reseting on relog
Click-to-cast: fix mouse4/5 buttons
Custom conditions: allow custom colors and alpha, usage: return show, {red,green,blue,alpha}, frameAlpha - i'll write some examples of custom conditionals in the weekend @wowace
Default layout: change Max range (dps) conditional to invert & 65% alpha, resulting in: 35% alpha if out side of utility range and 65% between utility and dps range, 100% if in dps range
Aura blacklist: add Mind Flay (15407)

v0.7-1-gcf63ef2:
fixed threat updates, some how i managed to fuck it up when i was adding support for custom conditionals

v0.7:
add 'Sargerai Dominator' and 'Phantasmal Resonance' to default npc prio list
performance update
change default layouts Max Range (utility) alpha from 75% to 35%

v0.6-3-g59ea208:
binding options:improve binding options (some foolproofing)
binding options:show raid target icons instead of macro text in bindings
binding options:fix macro text add some error messages

change default Losing aggro and Gaining aggro colors
fix Gaining aggro color option


v0.6-1-gf0272cd:

aura frames: replace cooldown frame with own duration text
aura frames: add stack text
aura frames: add flash for low durations

fix memory leaking

v0.6:
-add priority npc conditional (npcID or unit name) with an option for CHAT_MSG_ADDON(group/raid) updates (off by -default)
-add global iTargetingFrames
-add iTargetingFrames:PrioNPC(npc, comment)
-rename iTargetingFrames_AddNewProfile(profileName, t) to iTargetingFrames:AddNewProfile(profileName, t)
-add 'On Show' custom trigger
Optional Files (0)


Post A Reply Comment Options
Unread 10-27-16, 12:24 PM  
Ironi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 11
Uploads: 5
Originally Posted by natassja72
It appears the frames no longer show up, probably since 7.1 Karazhan patch. I used them a few days before it and they worked OK.
Sorry i forgot to add info about api changes here on WoWI.
Unfortunately nameplate unitIDs aren't valid targets anymore in 7.1 because blizzard didn't like the idea of grids like iTF, so iTF doesn't work anymore. Even if someone finds away to create addons like this, blizzard said they would block the methods used so unless blizzard decides to allow such addons, you won't be seeing any updates to ITF (unless people want me to modify it for debuff tracking)
Report comment to moderator  
Reply With Quote
Unread 10-27-16, 11:55 AM  
natassja72
A Wyrmkin Dreamwalker

Forum posts: 59
File comments: 73
Uploads: 0
It appears the frames no longer show up, probably since 7.1 Karazhan patch. I used them a few days before it and they worked OK.
Report comment to moderator  
Reply With Quote
Unread 08-25-16, 12:21 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Originally Posted by Ironi
Originally Posted by Aisenfaire
Might there be a way to get this to work with friendly health bars? I'd love to be able to easily heal other players in world events that I'm not partied with!
Disable "Only show enemies" under frame options and iTF will show both, friendly and hostile units, assuming you have them friendly & hostile nameplates on
Thank you!
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 07:26 AM  
Ironi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 11
Uploads: 5
Originally Posted by Aisenfaire
Might there be a way to get this to work with friendly health bars? I'd love to be able to easily heal other players in world events that I'm not partied with!
Disable "Only show enemies" under frame options and iTF will show both, friendly and hostile units, assuming you have them friendly & hostile nameplates on
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 12:54 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Might there be a way to get this to work with friendly health bars? I'd love to be able to easily heal other players in world events that I'm not partied with!
Report comment to moderator  
Reply With Quote
Unread 08-19-16, 08:20 AM  
natassja72
A Wyrmkin Dreamwalker

Forum posts: 59
File comments: 73
Uploads: 0
Originally Posted by Ironi
remove the quotes surrounding "return true, {1,1,1,1}"
edit: hah, looks like my example code had those too...my bad, it shouldn't have those
I'm still not comfortable with how new nameplates and tab targetting works now and this is a huge help. I've played with this for the past days and it really helps to snipe Shadow Word: Deaths on dying mobs. Thank you . I should add that the two color system for two (20% and 35%) thresholds is especially helpful
Last edited by natassja72 : 08-19-16 at 08:24 AM.
Report comment to moderator  
Reply With Quote
Unread 08-13-16, 02:34 PM  
Ironi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 11
Uploads: 5
Originally Posted by natassja72
I'm getting error after pasting in the code you provided: [string "nameplate1"]:9: unexpected symbol near "return true, {1,1,1,1}" (Heres a link in case I misread the text, the letters are so tiny: http://prnt.sc/c5clyu )

I have absolutely no knowledge about codes to correct it myself. Would appreciate any help because that code would be extremely helpful for me too
remove the quotes surrounding "return true, {1,1,1,1}"
edit: hah, looks like my example code had those too...my bad, it shouldn't have those
Last edited by Ironi : 08-13-16 at 02:34 PM.
Report comment to moderator  
Reply With Quote
Unread 08-13-16, 02:32 PM  
natassja72
A Wyrmkin Dreamwalker

Forum posts: 59
File comments: 73
Uploads: 0
Originally Posted by Ironi
i removed the normal cooldown frame (circular duration) from auras becouse it triggered omnicc durations which didn't work out too well with iTargetingFrames, ill try to come up with an optional circular duration tomorrow, tonight is reserved for diablo season 7 ;>
That would be awesome if you do!
Originally Posted by Ironi

The hp indicator is already possible with custom conditional, assuming you want one indicator for <=35% and one for <=20% but with different colors, you can create multiple customs or use (i made this for a shadow priest friend):
Update: On Health
Function: (SNIP)
I'm getting error after pasting in the code you provided: [string "nameplate1"]:9: unexpected symbol near "return true, {1,1,1,1}" (Heres a link in case I misread the text, the letters are so tiny: http://prnt.sc/c5clyu )

I have absolutely no knowledge about codes to correct it myself. Would appreciate any help because that code would be extremely helpful for me too
Last edited by natassja72 : 08-13-16 at 02:36 PM.
Report comment to moderator  
Reply With Quote
Unread 08-11-16, 02:09 PM  
Ironi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 11
Uploads: 5
Originally Posted by Symulation12
Is there a way to limit the number of frames? Would be pretty useful for things like tyrant trash where you could have 30 nameplates up at once.
currently no, and i won't add an option for it before i figure out a nice way to 1) refresh the units or 2) dynamically show the existing units
if i were to add it now it would be confusing becouse you aren't limiting the frames that you see, but the unitIDs that you want to see.
Example:
you have limited your frames (unitIDs) to 10 and you pull 20 mobs, at first you see 10 frames like you should, but when you start killing the mobs that you see with iTargetingFrames, there aren't any new frames spawning, when you have killed all 10 units that you see in iTargetingFrames, you wouldn't see any frames but there would still be 10 mobs in front of you
Report comment to moderator  
Reply With Quote
Unread 08-08-16, 05:40 PM  
Symulation12
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Is there a way to limit the number of frames? Would be pretty useful for things like tyrant trash where you could have 30 nameplates up at once.
Report comment to moderator  
Reply With Quote
Unread 08-06-16, 09:27 AM  
Ironi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 11
Uploads: 5
Originally Posted by natassja72
Fantastic addon! I would love an indicator for units below certain hp percentage for execute skills. With compact layout, hp frame is already hardly visible with auras icons on, so additional frame/border colouring trigered on certain hp % would help a lot.

Also circular progress of Auras instead of numeric would be much easier to track when there's 4+ DoTs to maintain on multiple targets (affli warlock).
i removed the normal cooldown frame (circular duration) from auras becouse it triggered omnicc durations which didn't work out too well with iTargetingFrames, ill try to come up with an optional circular duration tomorrow, tonight is reserved for diablo season 7 ;>

The hp indicator is already possible with custom conditional, assuming you want one indicator for <=35% and one for <=20% but with different colors, you can create multiple customs or use (i made this for a shadow priest friend):
Update: On Health
Function:
Code:
function(unitID)
	local hp = UnitHealth(unitID)
	local maxHP = UnitHealthMax(unitID)
	local value = 1
	if hp and maxHP then
		value = (hp/maxHP)*100
	end
	if value <= 20 then
		return true, {1,1,1,1}
	elseif value <= 35 then
		return true
	end
end
this conditional will show white indicator for units with <=20% health, and use the indicator color that you selected for units with health between 20% & 35%, if you want to change the color for <=20 then change the values inside "return true, {1,1,1,1}", they are RGB values between 0-1 (if you have values between 0-255 just divide it by 255 or just enter 50/255 etc), 4th is indicator alpha (0-1)

edit: i will write few custom conditional examples when i have the time, but if you know lua & wow api it's quite simple, the first (and only) parameter for the function is unitID and the possible returns are:
1st: shouldShow (true/false(nil))
2nd: color (optional, use when you want to use multiple colors for one custom conditional, table containing r,g,b,a)
3rd: frameAlpha (optional, use when you want to use multiple alpha values for one custom conditional, value between 0-1)
Last edited by Ironi : 08-13-16 at 03:10 PM.
Report comment to moderator  
Reply With Quote
Unread 08-06-16, 08:54 AM  
natassja72
A Wyrmkin Dreamwalker

Forum posts: 59
File comments: 73
Uploads: 0
Fantastic addon! I would love an indicator for units below certain hp percentage for execute skills. With compact layout, hp frame is already hardly visible with auras icons on, so additional frame/border colouring trigered on certain hp % would help a lot.

Also circular progress of Auras instead of numeric would be much easier to track when there's 4+ DoTs to maintain on multiple targets (affli warlock).
Report comment to moderator  
Reply With Quote
Unread 07-20-16, 03:31 PM  
Ironi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 11
Uploads: 5
Re: Great addon

Originally Posted by Gadzooks
Would be nice to have a testing view, where you could see mock frames and such so you could configure the look of the addon without needing to be in a group/raid.

Otherwise, great work.
thanks, if you want to configure the indicators, easiest way is to go near dummies in garrison or in a city, but if you want to spawn fair amount of nameplates, just turn on friendly nameplates from wow's interface options go to a crowded place
Report comment to moderator  
Reply With Quote
Unread 07-20-16, 12:36 PM  
Gadzooks
A Defias Bandit

Forum posts: 2
File comments: 38
Uploads: 0
Great addon

Would be nice to have a testing view, where you could see mock frames and such so you could configure the look of the addon without needing to be in a group/raid.

Otherwise, great work.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.