![]() |
That is not new. Was the same problem for boss1-4 aswell.
|
Quote:
If you change the "Large NamePlates" or "Show All Nameplates" settings its 100% gonna be broken. Seems like if you change thoose settings then the game rearranges the unitIDs, and NamePlate22 might get "nameplate1" unit attribute. |
Quote:
To always get the correct unitID for the specific plate you need to check its variable .namePlateUnitToken which reflects the unitID You might have to update certain things manually whenever a nameplate is shown via "NAME_PLATE_UNIT_ADDED" Edit: Raidframes work the exact same way, if you rearrange your raid group & switch your main tank from group 3 into group 1 the unitID for this tank also changes... |
Quote:
Lua Code:
returns the same value all the time. Lua Code:
Sometimes returns the proper unit like: "target", "focus", but it's mostly the same as above. |
That behavior is exactly correct. NamePlate1 is always associated with the unit "nameplate1". However, "nameplate1" can be associated with different units at different times, because nameplates are dynamically assigned. That is, UnitIsUnit("nameplate1", "target") can change from true to false even if you don't switch targets -- simply because the nameplates got rearranged. Currently, all nameplates get refreshed whenever any CVar changes (hence the behavior you're seeing with changing the nameplate settings).
|
Quote:
Edit: It seems like cvar updates trigger the NAME_PLATE_UNIT_ADDED, NAME_PLATE_UNIT_REMOVED events so it's gucci if you update based on those. |
thats what i suggested on the last page!
some style options for units will also have to be independently updated with a more aggressive hook — the castbar has to be reconfigured more or less every time it is shown if you want to change its size etc. i think. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Sorry I'm just ranting and not contributing |
Quote:
Lua Code:
That's the snag. For All player based debuffs we need Lua Code:
|
Options
Code:
DefaultCompactNamePlateFriendlyFrameOptions Lua Code:
![]() NamePlate table & NamePlate.UnitFrame table Lua Code:
![]() NamePlateDriverFrame Lua Code:
![]() NamePlateUnitFrameTemplate https://github.com/tomrus88/Blizzard...NamePlates.xml Code:
<Button name="NamePlateUnitFrameTemplate" parentKey="UnitFrame" setAllPoints="true" useParentLevel="true" virtual="true"> |
Finished editing the nameplates. Blizzard made it really easily to adjust the style.
Castbars: ![]() Aggro border (not the default one): ![]() https://github.com/zorker/rothui/blo...Plate/core.lua |
Nameplates have a new option for the ClassificationFrame as far as I can tell.
template: https://github.com/tomrus88/Blizzard...lates.xml#L375 update function: https://github.com/tomrus88/Blizzard...rame.lua#L1615 |
Quote:
I tried to show all (harmful) spells from the player, but didn't work :(
Lua Code:
NameplateBuffContainerMixin:UpdateBuffs |
Anyone found a solution to modify the shield icon with non-interruptable casts?
frame.castBar.BorderShield is the refference to the bar, but that icon is unnamed? |
You can use :GetRegion or GetChildren to access child objects. But are you sure that borderShield is not of type texture?
|
Quote:
|
All times are GMT -6. The time now is 07:37 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI