Download
(682Kb)
Download
Updated: 07-22-16 02:27 PM
Pictures
File Info
Compatibility:
Warlords of Draenor (6.0.3)
Updated:07-22-16 02:27 PM
Created:01-06-10 11:32 AM
Downloads:184,934
Favorites:361
MD5:
Categories:Beta-version AddOns, Buff, Debuff, Spell, DPS, Healers, Tank, Combat Mods

Tidy Plates Beta  Popular! (More than 5000 hits)

Version: 6.18.Beta3
by: danltiger [More]

This is a major update to Tidy Plates, and many things have changed.

Having Trouble?

* Quick Fix - Quick Setup:
1. Use '/tp' to reselect your Theme
2. Use '/hub' to check your settings...
...Some settings have been pruned!

Here are some of the bigger changes:

* Hub Revamp / Phase 1
1. Removed theme copies; ie. "Damage" and "Tank"
2. Theme copies have become 'Profiles'
3. Access profiles via: '/tp'
4. You can still use '/hub' to jump to the
appropriate panel
5. Again, some settings have been pruned!

* NEON is the only theme that has been updated in Beta1
* QUATRE will be available in Beta2
* GREY will be available in Beta3

* Numerous Bug Fixes & Improvements
* Numerous Bug "Additions", possibly

I sincerely apologize for any inconvenience these changes may cause.
Think of this: Changes mean that this addon is being actively developed
and maintained, rather than withering.





I'm not going to bug you by popping up an ad whenever you hit "Download". If you enjoy this addon and want to send a monetary "Thank You", please visit our Pledgie page by clicking on the button, above.

---------------------------
6.18.Beta1
---------------------------
Nameplate-pocalypse!!!!!!!

99% of the previous nameplate system has been replaced by Blizzard for Legion.

Rebuilding has been slow, since I'm (apparently) a grown-up, now. ;-)

BUT, progress is indeed being made!

The internal widgets are disabled, which means the Aura timers are not working. I'm rewriting the entire bloody system because we now have a good way to capture that data without all the trickery that was previously required. (Blizzard does love us!)

Again, progress is being made!

Many things are broken, so I expect that many of you might want to check back with Tidy Plates in a week or so.

Happy questing!

---------------------------
6.16.Beta: Quick Notes
---------------------------
This is a MAJOR update to Tidy Plates, and many things have changed.

Here are some of the bigger changes:

* The Hub has been revamped and some rearranging has been done.
* Quick Fix - Quick Setup:
1. Use '/tp' to reselect your Theme (and Profile)
2. Use '/hub' to check your settings...

* Some settings have been pruned; If there was something important that got
removed, let me know...

* Numerous Bug Fixes & Improvements
* Numerous Bug "Additions"? (Quite possible!)

I sincerely apologize for any inconvenience these changes may cause...

Think of this: Changes mean that this addon is being actively developed and
maintained, rather than withering, as many addons do...

--------------------------------------
6.16.Beta8
--------------------------------------
* Hub: Threat: Highlight Mobs Tanked by Other Tanks: It was a mess. Rewrote and tested with hunter pet, and it's working well in that condition.
- To do: Reimplement Combat Log melee swing detection, and test in 5-man and Raids

--------------------------------------
6.16.Beta7
--------------------------------------
* I haven't been keeping track of changes. Warlords- yay!

Things still needing testing...
* Healer Tracking
* Tank Target-Of-Mob Tracking

--------------------------------------
6.16.Beta6
--------------------------------------
* Some fixes, some additions..

Things still needing testing...
* Healer Tracking
* Tank Target-Of-Mob Tracking


--------------------------------------
6.16.Beta5
--------------------------------------
* Lots of things that I didn't write down because I'm busy playing Warlords of Freakin' Draenor woot!
* Fixed some bugs
* Added some new bugs, probably
* Lots of changes to the Hub. Feedback is good. Be polite, please!

* Migrated to new Dropdown Menu and Hub Function system; Your settings will be a bit borked until you go to /hub

--------------------------------------
6.16.Beta4:
--------------------------------------
* Themes: Migrated Quatre, Grey, and Graphite to the new system
* Hub/Themes: New function definition process, makes it easier to add themes
* Numerous bug fixes.. Can't remember. Been leveling my druid. Sleep; Need more of.

--------------------------------------
6.16.Beta3:
--------------------------------------
* Hub/Aura Widget: Fixed an issue which would prevent your auras from showing up (Previous configuration conflict)

--------------------------------------
6.16.Beta3:
--------------------------------------
* Widget/Combo Points: Fixed?

--------------------------------------
6.16.Beta2:
--------------------------------------
* Widgets/UnitCache: Fix for mouseover bug
* Class Coloring: Fixed IsInInstance() issue.. maybe?
* Hub: Removed "Default" choice from the Friendly and Enemy Coloring Modes (Yeah, this will make current settings funk-up... but it cleans out that redundant choice)

--------------------------------------
6.16.Beta1: Full-ish List of Changes:
--------------------------------------

Core:
* Core/Panel: !! The Bundled themes no longer create a "Damage" and "Tank" copy !!
* Core/Panel: Introduced a new menu set, called Profiles, which will load the appropriate "Damage", "Tank", or "Healer" Hub profile.
* Core/Panel: When the selected theme is invalid, it'll fall-back to the first available theme.
* Core/Panel: Added a Slash Command alias, "/tp" in addition to "/tidyplates"

Bundled Themes:
* Themes: Neon & Quatre now have CastProtected art. About time!
* Neon: New Elite Icon, which looks more like I'd originally intended. (Replaces the old Star)
* Removed "Blizzard Theme"... Sorry guys... There are core things that I want to get done, and fixing/maintaining
that component is not a priority. It will probably return, but don't hold your breath.

Widgets:
* Widgets/UnitCache: Replaced " (*)" with FOREIGN_SERVER_LABEL, which will fix unit-caching on certain server types.
* Widgets/UnitCache: Now using a Scanning Tooltip, which should prevent conflicts with TipTac and other Tooltip mods
* Widgets/Aura: Combat Log Event Handler now skips units which are group members, relying on the general
Unit event handler for their updates.

Hub/General:
* Hub: Colorized 'Friendly' and 'Enemy' description titles, to improve readability.
* Separated Hub functions.lua into discrete category files
* Tweaked some names/descriptions
* Removed Threat Wheel widget from Hub
* Hub: Added a button to the Advanced category; "Clear Cache", which purges the stored Class/Description/Guild data
* Hub/Advanced: "Health Bar Width" (%) Allows you to tweak the relative width of the theme's Health Bar (Experimental)

Hub/Colors:
* Hub/Reaction: New Color, "Tapped Unit"
* Hub/Color Function: Tapped Color will be applied, taking priority over Threat/Etc. functions

Hub/Scale:
* Hub: Scale: Added, Bring Target units to Spotlight Scale, Bring Mouseovers to Spotlight Scale

Hub/Health Bar View:
* Removed several of the Status Text choices; These will reappear in a more advanced "Custom Text" category (Working on it...)
* NOTE: The CUSTOM/ADVANCED Status Text function hasn't been written, yet; Thus, it doesn't do anything at the moment...

Hub/Opacity:
* Hub: Opacity: Enemy & Friendly units now have their own independent Spotlight Modes
* Hub: Opacity: Spotlight Modes; Removal of some redundant and underused modes.
* Hub: Opacity: New Checkbox, "Spotlight Raid Marked"
* Hub: Opacity: Modified Checkbox, "Bring Mouseovers to Target Opacity" to "Spotlight Mouseover"
* Hub: Opacity: Modified Checkbox, "Bring Casting Units to Target Opacity" to "Spotlight Casting Units"

Hub/Aura Widget:
* Hub: Buffs & Debuffs: Replaced "Aura Widget Mode" Dropdown with Checkboxes: "Include My Buffs", and "Include My Debuffs".
* Hub: Buffs & Debuffs: The widget will now use a Smart Mode, where it first evaluates the checkboxes, then evaluates the Aura List.
* Hub: Buffs & Debuffs: Added the "Not" prefix to the aura list; This new mode allows you to blacklist auras from "Show My Debuffs" etc.

Framework:
* Hub: Quick Frame Templates now return the created frame twice (ie. assign two references with a single call, which helps with the Quick Frame setup)
* Fixed some Odd Mouseover Behavior
* Rearranged and removed some old Hub stuff. Cleaning out functions, removing ancient code, removed items of questionable utility
Optional Files (0)


Post A Reply Comment Options
Unread 01-07-10, 01:03 AM  
Tense
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
Tiger, I want to have your man babies.... but seriously another excellent addon man.

I dont suppose theres a chance in the (near :P) future to add an option to show the threat wheel all the time while tanking (or just all the time even lol)? Possibly make it so it shows on the mob that is currently targeted for example. Its a bit rough mousing over name plates while tanking.

Would do wonders for tanking, knowing if during an AoE pull someone is ignoring a well and obviously marked mob and trying to itch their way up the dps meters :P. Then I will know who not to taunt off of . Just an idea. Either way thanks again for making the game a little more enjoyable :P.
Last edited by Tense : 01-07-10 at 01:05 AM.
Report comment to moderator  
Reply With Quote
Unread 01-07-10, 05:28 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
LOL - Ok, um... so I'm just going to think of you as a female, regardless of whether you are or not, because it makes your first sentence easier to read.

As for the addon; It SHOULD stay up on the currently targeted mob.. at least, that's the intent haha. Maybe I still have some work to do. For non-targeted mobs, the only way to get a threat reading is by referencing to a unitid, which is pretty limited (target, focus, mouseover, pettarget, etc).. so, unfortunately, mousing around will be required in the foreseeable future to grab the threats of non-target. :-( Boooooo


Originally posted by Tense
Tiger, I want to have your man babies.... but seriously another excellent addon man.

I dont suppose theres a chance in the (near :P) future to add an option to show the threat wheel all the time while tanking (or just all the time even lol)? Possibly make it so it shows on the mob that is currently targeted for example. Its a bit rough mousing over name plates while tanking.

Would do wonders for tanking, knowing if during an AoE pull someone is ignoring a well and obviously marked mob and trying to itch their way up the dps meters :P. Then I will know who not to taunt off of . Just an idea. Either way thanks again for making the game a little more enjoyable :P.
Report comment to moderator  
Reply With Quote
Unread 01-07-10, 05:35 PM  
JStrese
A Murloc Raider

Forum posts: 8
File comments: 55
Uploads: 0
I'm curious, if TidyPlates_ThreatPlates can do it, why can't Tidy Plates alone? Imho that's what makes Threat Plates such a good nameplate mod for tanks

Originally posted by danltiger
LOL - Ok, um... so I'm just going to think of you as a female, regardless of whether you are or not, because it makes your first sentence easier to read.

As for the addon; It SHOULD stay up on the currently targeted mob.. at least, that's the intent haha. Maybe I still have some work to do. For non-targeted mobs, the only way to get a threat reading is by referencing to a unitid, which is pretty limited (target, focus, mouseover, pettarget, etc).. so, unfortunately, mousing around will be required in the foreseeable future to grab the threats of non-target. :-( Boooooo
Report comment to moderator  
Reply With Quote
Unread 01-07-10, 06:09 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
I'm not quite sure what you're referring to; What can't Tidy Plates do?

Tidy Plates (as well as the default nameplates) has shown aggro differences from the very first version. Both Threat Plates, as well as the default Tidy Plates theme, can alter the size of the nameplate art depending on this status. The idea that Threat Plates is revolutionary is a little bit misleading, since the default theme will do the same thing... albeit with less configurability.

This update adds the capability to the default theme to display a measurement of the unit's threat. Threat and Aggro are two different animals.

Also, different themes can have different features. The way that Tidy Plates works is very flexible to designers.

Originally posted by JStrese
I'm curious, if TidyPlates_ThreatPlates can do it, why can't Tidy Plates alone? Imho that's what makes Threat Plates such a good nameplate mod for tanks
Last edited by danltiger : 01-07-10 at 06:16 PM.
Report comment to moderator  
Reply With Quote
Unread 01-07-10, 06:36 PM  
JStrese
A Murloc Raider

Forum posts: 8
File comments: 55
Uploads: 0
Oh snap, my bad.. I thought threat and aggro were the same thing (figured that aggro was calculated from the given threat on a mob).

Originally posted by danltiger
I'm not quite sure what you're referring to; What can't Tidy Plates do?

Tidy Plates (as well as the default nameplates) has shown aggro differences from the very first version. Both Threat Plates, as well as the default Tidy Plates theme, can alter the size of the nameplate art depending on this status. The idea that Threat Plates is revolutionary is a little bit misleading, since the default theme will do the same thing... albeit with less configurability.

This update adds the capability to the default theme to display a measurement of the unit's threat. Threat and Aggro are two different animals.

Also, different themes can have different features. The way that Tidy Plates works is very flexible to designers.
Report comment to moderator  
Reply With Quote
Unread 01-07-10, 06:56 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
Haha, no worries.. My apologies for being a little defensive; It took a bit of effort to get this feature working ;-)

Originally posted by JStrese
Oh snap, my bad.. I thought threat and aggro were the same thing (figured that aggro was calculated from the given threat on a mob).
Last edited by danltiger : 01-07-10 at 08:48 PM.
Report comment to moderator  
Reply With Quote
Unread 01-08-10, 08:08 PM  
dariusgemini
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
X-ref target frame/name plate?

Maybe I'm crazy, and you've thought of this before, but if a user tab/click targetted through all of the targets available, couldn't you then get an array of what nameplates attach to what targets?

Ok. That sounds confusing, even to me...

You can get a unitid from a target frame, right? And you obviously know what nameplate is currently selected. So if the user targetted each individual mob, couldn't you then create a lookup array betweeen the nameplate/unitid?

It seems simple enough, but I'm not an addon developer.


Originally posted by danltiger
LOL - Ok, um... so I'm just going to think of you as a female, regardless of whether you are or not, because it makes your first sentence easier to read.

As for the addon; It SHOULD stay up on the currently targeted mob.. at least, that's the intent haha. Maybe I still have some work to do. For non-targeted mobs, the only way to get a threat reading is by referencing to a unitid, which is pretty limited (target, focus, mouseover, pettarget, etc).. so, unfortunately, mousing around will be required in the foreseeable future to grab the threats of non-target. :-( Boooooo
Report comment to moderator  
Reply With Quote
Unread 01-08-10, 08:57 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
Re: X-ref target frame/name plate?

No, you're not crazy; It's quite possible to get a unitid by tabbing through each of them. Of course, that unitid would only last for the duration of the targeting; As soon as you change targets, it's a different unit for your "target" unitid. I'm talking mobs, of course. Party members have their own unitids.

Keep in mind, a unitid is different from a GUID...

http://www.wowwiki.com/UnitId

Originally posted by dariusgemini
Maybe I'm crazy, and you've thought of this before, but if a user tab/click targetted through all of the targets available, couldn't you then get an array of what nameplates attach to what targets?

Ok. That sounds confusing, even to me...

You can get a unitid from a target frame, right? And you obviously know what nameplate is currently selected. So if the user targetted each individual mob, couldn't you then create a lookup array betweeen the nameplate/unitid?

It seems simple enough, but I'm not an addon developer.
Report comment to moderator  
Reply With Quote
Unread 01-09-10, 01:27 AM  
dariusgemini
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Re: Re: X-ref target frame/name plate?

Ok. Well, can you create a table that has the unitid and plate GUID ( Did some searches on google for Lua GUID and found zip, so I'm not sure how these work. Reference to the name plate?)

Once you have this table, can you :
1) Loop through the unitids that have been registered and then to get the threat associated with that unitid.
2) Update the guid that the unitids are mapped to in your table?

I understand that you would need to tab/click target to get the info in the first place, but most tanks do that anyways when they are tanking add/trash. I know I do.

Sorry to keep bugging you with this.

Originally posted by danltiger
No, you're not crazy; It's quite possible to get a unitid by tabbing through each of them. Of course, that unitid would only last for the duration of the targeting; As soon as you change targets, it's a different unit for your "target" unitid. I'm talking mobs, of course. Party members have their own unitids.

Keep in mind, a unitid is different from a GUID...

http://www.wowwiki.com/UnitId
Report comment to moderator  
Reply With Quote
Unread 01-09-10, 06:22 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
Re: Re: Re: X-ref target frame/name plate?

The GUID (global-unitid) I refer to is a unique number that identifies a specific unit in the game world.

The API function:
guid = UnitGUID("unit")

However, the API functions that we can use to gather information ask for a unitid.

status = UnitThreatSituation("unit"[, "otherunit"])

They don't like that global-unitid, sadly. If I've got it all wrong, I'd be quite overjoyed. ;-) It'd make tanking a lot easier.


PS - I do have a problem with tab targeting.. but we'll leave that out of it.. haha ;-)


Originally posted by dariusgemini
Ok. Well, can you create a table that has the unitid and plate GUID ( Did some searches on google for Lua GUID and found zip, so I'm not sure how these work. Reference to the name plate?)

Once you have this table, can you :
1) Loop through the unitids that have been registered and then to get the threat associated with that unitid.
2) Update the guid that the unitids are mapped to in your table?

I understand that you would need to tab/click target to get the info in the first place, but most tanks do that anyways when they are tanking add/trash. I know I do.

Sorry to keep bugging you with this.
Last edited by danltiger : 01-09-10 at 06:31 AM.
Report comment to moderator  
Reply With Quote
Unread 01-10-10, 11:16 AM  
Kebinusan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 1
Does this beta gray frame have cast bars? I was playing with it in TOGC last night but I wasn't seeing cast bars when the adds I was tanking began to cast shadowstrike.
Report comment to moderator  
Reply With Quote
Unread 01-10-10, 11:21 AM  
Kebinusan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 1
Originally posted by Kebinusan
Does this beta gray frame have cast bars? I was playing with it in TOGC last night but I wasn't seeing cast bars when the adds I was tanking began to cast shadowstrike.
Ignore that they are showing up in 5 mans, Im an idiot I guess
Report comment to moderator  
Reply With Quote
Unread 01-10-10, 02:39 PM  
dariusgemini
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Re: Re: Re: Re: X-ref target frame/name plate?

Ok... How to explain what I'm asking better...
(BTW, I'm doing this because I LOVE your mod. It's amazing, and if I can help you give it even one slightlyuseful feature, I will be ecstatic!)
I'm going to go over points you've already been kind enough to discuss already to make sure I understand.
(I've spent the last day attempting to learn Lua coding, so I think I've answered some of my own questions.)

1) Name Plates have a reference that you can call methods/functions on. Getting the unitid is not one of them. - (Can't find anything. Looking at your code, it appears that you are just styling them, without ever really knowing anything about an individual plate?)

2) Can you make a call to the UI to get a reference to the target frame, and then get the unitid from there? (Yup. Learned this one. Simple as "target".)

3) If you have a reference to a name plate, even if it is not selected, can you manually update some information on it? Or trigger an update? (Again, I couldn't figure this part out.)

So I'm plugging away. If I start figuring out how this shit works, would you like some assistance? I'm a seasoned Java/javascript coder, so the syntax is pretty easy. It's just learning the Lua/Blizzard APIs that's going to be a problem.

Oh, and on the subject of tab targetting. It doesn't matter how you target. I was just saying that maybe you could render the little threat wheel on each one the payer has previously selected. you can find a way to determine what plate is selected and map that to the target's unitId, that is.

Here's something else I just thought of. Maybe there's a hidden event that occurs when a player clicks on the name plate you could hook into?

Darius

Originally posted by danltiger
The GUID (global-unitid) I refer to is a unique number that identifies a specific unit in the game world.

The API function:
guid = UnitGUID("unit")

However, the API functions that we can use to gather information ask for a unitid.

status = UnitThreatSituation("unit"[, "otherunit"])

They don't like that global-unitid, sadly. If I've got it all wrong, I'd be quite overjoyed. ;-) It'd make tanking a lot easier.


PS - I do have a problem with tab targeting.. but we'll leave that out of it.. haha ;-)
Report comment to moderator  
Reply With Quote
Unread 01-10-10, 02:43 PM  
dariusgemini
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by Kebinusan
Ignore that they are showing up in 5 mans, Im an idiot I guess
Get Deus Vox Encounters(DXE).
Then go through the possible events and disable the ones you don't care about, and change the sound that plays when they cast shadow step to be something you normally don't hear in a boss mod. I use "YOU WILL DIE!"
I also have the screen flash a nasty green color when they are about 5 seconds away from casting it. It works really well.
The only time I've missed an interrupt since I did that was when I had one that got pulled across the room by Army of the Dead. :-/
Report comment to moderator  
Reply With Quote
Unread 01-10-10, 10:25 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
Re: Re: Re: Re: Re: X-ref target frame/name plate?

I really appreciate the kind words :-) And, I'll take any help I can get.

1) Here's the thing with nameplates: There's no Blizzard documentation telling us about them. Some clever person, a long time ago, figured out that there were frames being created by the Blizzard client under the WorldFrame object, which happened to be the nameplates. (Not every object under WorldFrame is a nameplate) Each nameplate is A) an invisible clickbox, which targets the unit B) the graphical elements. BlizzUI updates all of that information, as you'd expect. Being a special type of secure frame, we can't hook or script that invisible clickbox, and very little information can be gleaned from it, directly. So, what we do is hook/script the health bar to gain access to events surrounding the plate (Show/Hide/ValueChanged, etc).

Each frame, the Tidy Plates code looks for new nameplates and adds it's extensions. After a plate is created, it may be hidden (and recycled for a totally different unit), or garbage collected. A nameplate may change very often, especially if you're moving around, and many plates are leaving/entering view.

From our perspective, a nameplate is little more than an image; There's text, health amount, a name, level, transparency, aggro, and highlight elements that we can look at to gain some insight about the unit. We can tell when a unit becomes a target, based on the alpha of the plate and the status of the player's target (does it exist?), and we can tell if the plate is being moused over (by looking at the visibility of the highlight region). From my understanding, those are the only two ways of directly referencing a unit to a nameplate ("target" or "mouseover").

2) Unfortunately, you can't ask the plate for a unitid. Targeting a unit or mousing over a plate will allow "target" or "mouseover" to reference that plate, but only during the duration of that mouseover or target. A global-unitid can be gathered from a unit using UnitGUID(unitid) during tab-target or mouseover, which you could store on the nameplate. However, there's no way to use that GUID for API functions.

This is what a GUID looks like: 0x00000000012729FD
This is what a unitid looks like: "target"

An analogue: One is a person's social security number, the other is "the person standing in front of me". There may or may not be a person standing in front of you, and it could be one of many different people.

The GUID IS useful in referring to a unit from the combatlog. It's theoretically possible to parse the log, and push data back to the plate, but that's a ton of work on both the coder and the computer.

3) I have a ForceUpdate() function built into Tidy Plates, which will update all the plates. If you want to push data directly to the plate, there's no built-in a mechanism for that, but you could put one together.

4ish) There's an event when the player changes targets (PLAYER_TARGET_CHANGED), which I use.

That said, don't let me discourage you from trying to find a way around those obstacles! :-) I'm just letting you know how things seem to work (I could be wrong).

Another thing: A lot of the neat things that happen in Tidy Plates go on in the theme files.

Originally posted by dariusgemini
Ok... How to explain what I'm asking better...
(BTW, I'm doing this because I LOVE your mod. It's amazing, and if I can help you give it even one slightlyuseful feature, I will be ecstatic!)
I'm going to go over points you've already been kind enough to discuss already to make sure I understand.
(I've spent the last day attempting to learn Lua coding, so I think I've answered some of my own questions.)

1) Name Plates have a reference that you can call methods/functions on. Getting the unitid is not one of them. - (Can't find anything. Looking at your code, it appears that you are just styling them, without ever really knowing anything about an individual plate?)

2) Can you make a call to the UI to get a reference to the target frame, and then get the unitid from there? (Yup. Learned this one. Simple as "target".)

3) If you have a reference to a name plate, even if it is not selected, can you manually update some information on it? Or trigger an update? (Again, I couldn't figure this part out.)

So I'm plugging away. If I start figuring out how this shit works, would you like some assistance? I'm a seasoned Java/javascript coder, so the syntax is pretty easy. It's just learning the Lua/Blizzard APIs that's going to be a problem.

Oh, and on the subject of tab targetting. It doesn't matter how you target. I was just saying that maybe you could render the little threat wheel on each one the payer has previously selected. you can find a way to determine what plate is selected and map that to the target's unitId, that is.

Here's something else I just thought of. Maybe there's a hidden event that occurs when a player clicks on the name plate you could hook into?

Darius
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: