SetCVar for larger nameplates and enemy minions

Hello, I am looking for a working SetCVar command for both toggling on larger nameplates as well as enemy minions. One of my too many addons likes to reset these and a few other settings about ever 5th time I do a /reload.

Please don’t recommend I remove the addons and reset my ui. I accept the mess that is my UI because I utilize each and ever one of my addons :slight_smile: . I just want to make a macro that restores my settings to what I want. So far I have been able to get it to toggle everything but these two settings.

I have already tried using the following with no results:
/script SetCVar(“UnitNameEnemyPetName”, 1)

/run SetCVar(“nameplateSelectedScale”, 1.0)
/run SetCVar(“nameplateGlobalScale”, 1.0)

/run SetCVar(“nameplateVerticalScale”, 2.7)

None of those seemed to work unfortunately. If anyone has a working solution for either one of these options, please let me know. Thank you!

Grab AdvancedInterfaceOptions it has a CVar Browser and should also be able to tell you which addon has been resetting them.

1 Like

I’m not sure what AIO shows for the nameplate size as it’s 3 CVars. These are the “standard” options

-- Minions
SetCVar("nameplateShowEnemyMinions", 1) -- or 0

-- NamePlates
-- Std. small size
SetCVar("NamePlateHorizontalScale", 1.0)
SetCVar("NamePlateVerticalScale", 1.0)
SetCVar("NamePlateClassificationScale", 1.0)
NamePlateDriverFrame:UpdateNamePlateOptions()

-- Std. large size
SetCVar("NamePlateHorizontalScale", 1.4)
SetCVar("NamePlateVerticalScale", 2.7)
SetCVar("NamePlateClassificationScale", 1.25)
NamePlateDriverFrame:UpdateNamePlateOptions()
1 Like

Or you could just:

/run InterfaceOptionsNamesPanelUnitNameplatesMakeLarger:Click()

to toggle the name plates large/small.

1 Like