Hello! I'd like to know if there's a way to attach a number (simple text aura) to arena1, arena2, and arena3 nameplates. I was playing with the player/unit info -> unit characteristics -> nameplate trigger but then don't seem to have a way to specify specific units like arena1, etc. for which nameplate to apply it to. How can I achieve this?
#Number over arena nameplates
16 messages · Page 1 of 1 (latest)
What number would you want to display? Just 1, 2, 3 for arena1/2/3?
Yup
New aura: Text
Trigger: player/unit info -> unit characteristics -> unit = arena
Display: %c in Text
Custom Text function:
function()
if aura_env.state and aura_env.state.unit then
return string.match(aura_env.state.unit, "%d+")
end
end
Then anchor it to nameplates in the display tab, and make sure that it's anchored above (anchor point at the bottom, TO point at the top)
Oops, I'm stupid
Bit too tipsy
The built in nameplate anchor obviously won't work since those are not nameplate unit ids
You'll need a custom anchor that returns the appropriate nameplate
so anchored to custom and
function()
if aura_env.state and aura_env.state.unit then
local np = C_NamePlate.GetNamePlateForUnit(aura_env.state.unit)
if np then return np end
end
end
@long pendant Appreciate your help on this - thank you! It does seem to work although a bit inconsistently. Some (but not all) of the arena targets may have it when the match starts at random, and then it also seems to fall off at times as well (doesn't seem to be related to stealth or anything).
Also curious about texture options - I was hoping to put a glow texture behind the number with the texture option but it always appears in front of the number. I don't see any strata control in the texture section - is there a way to do this?
doesn't seem to be related to stealth or anything
that's the only thing I could think of right now, nameplates disappearing for PvP reasons
try this, that's the inverse basically. should avoid that https://wago.io/ApYd_DVHc
but if it's really something else that causes this then idk, I'm not gonna enter PvP for this
I don't see any strata control
move the texture subregion to the top of the list, in front of background