View Single Post
05-22-19, 11:23 AM   #2
Sylen
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 50
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