Quantcast
WoWInterface - View Single Post - is there away to script a SET function for nameplates
View Single Post
05-22-19, 11:23 AM   #2
Sylen
A Cyclonian
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 49
Check if the box is ticked or not, then do what you want to do in either case

Lua Code:
  1. if InterfaceOptionsNamesPanelUnitNameplatesMakeLarger:GetValue() == "1" then
  2.     --Do stuff here
  3. elseif InterfaceOptionsNamesPanelUnitNameplatesMakeLarger:GetValue() == "0" then
  4.     --Do other stuff here
  5. end
  Reply With Quote