Thread: GetSetting_bool
View Single Post
04/10/14, 03:16 PM   #10
Cranius
 
Cranius's Avatar
Join Date: Apr 2014
Posts: 6
Hey guys,

I just wanted you to know that I figured out what I wanted to do with my first addon. I still don't really understand how to connect the dots as I'd like to, but via trial and error I was able to get it working. I'm still quite confused about what setOptions are, though I was able to just use "1" and it worked. For example, this works:

Code:
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_ALL_HEALTHBARS, tostring(false), 1)
I was able to make the following associations:

NAMEPLATE_TYPE_* are of type SETTING_TYPE_NAMEPLATES
UI_SETTING_* are of type SETTING_TYPE_UI
IN_WORLD_UI_SETTING_* are of type SETTING_TYPE_IN_WORLD
  Reply With Quote