Setting the global skin from lua #369
-
Hey, thanks for masque! I'm looking for the ability to set the global skin (i.e. the functionality I get from opening the options, choosing the "Global" category and selecting a skin from the dropdown menu) from lua code. Is that exposed somehow? If not, can anyone suggest what to do? I'm kinda pondering mucking with the savedvars and call Thanks for any pointers :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The root ("Global") group is unavailable externally. All you can do is set the skin for each add-on individually (which will propagate to sub-groups), assuming you know which add-ons are enabled in Masque. |
Beta Was this translation helpful? Give feedback.
You can use that API function. If that doesn't work, just use the
Group
function and pass the add-on name. To set the skin, useGroup:__Set("SkinID", "NameOfSkin")
.