Setting the global skin from lua #369
Answered
by
StormFX
KillTheMule
asked this question in
Questions
|
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 :) |
Answered by
StormFX
Jun 16, 2024
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. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use that API function. If that doesn't work, just use the
Groupfunction and pass the add-on name. To set the skin, useGroup:__Set("SkinID", "NameOfSkin").