Nameplate toggle macro help

Hello!

Currently, I enable friendly nameplates on shift+V, and enemy nameplates on V. Is there a macro I could create so that when I enable friendly nameplates (shift+V), all enemy nameplates automatically toggle off? And similarly, when I enable enemy nameplates (V), all friendly nameplates toggle off. I basically want to avoid having all nameplates enabled at the same time.

A few expansions ago this was possible through the default UI, but I don’t think it is anymore. If a macro doesn’t allow it, are there any very lightweight addons that could?

Enable Enemy Nameplates and Disable Friendly Nameplates:

/script SetCVar("nameplateShowFriends", 0)
/script SetCVar("nameplateShowEnemies", 1)

Enable Friendly Nameplates and Disable Enemy Nameplates:

/script SetCVar("nameplateShowFriends", 1)
/script SetCVar("nameplateShowEnemies", 0)

Thanks a lot! This is super close to being exactly what I’m looking for, but do you know if there’s a way to get this to work in combat? Seems like it’s currently only working out of combat.

Unfortunately, you will need an addon for this. I think some scripts are suppressed during combat.

Ah got it - I appreciate your help! If you happen to know of any addon that supports that, please send it my way!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.