Threat Plates

Threat Plates

30M Downloads

Custom Nameplates only match players with exact names

Zimgineering opened this issue ยท 5 comments

commented

Custom Nameplates only match player Unit names with exact (case-sensitive) names, and not with the * wildcard or any UnitId

Use case is setting Friendly nameplates to Headline view in arena using wildcard matches, to apply the Arena Friendly Markers weakaura while maintaining Healthbar view in the open world.

commented

Interesting, I'll try to find out why this is happening.

commented

That is already possible right now - although at least the German translation misses that part. Here's the help text for trigger by name: Apply these custom settings to the nameplate of a unit with a particular name or NPC ID. You can add multiple entries separated by a semicolon. You can use use * as wildcard character in names.

And that still works, I just tested it.

commented

Interesting, I'm using v12.0.9 and get the below results changing to headline with no icon:
image
image
image

Ruga* or any variation does not match players, the only thing that will match the player is Rugaard (case-sensitive)

commented

So, I can verify that "*" works on some player units, but not all of them. Not sure why yet.

commented

Wildcards are actually only applied to NPCs, not to players. That's why it does not work currently. I guess when implementing it I thought that no one would use wildcards for players, so I added a condition for NPCs.