I'm trying to control another skin from a different one through Lua. One skin sets options for the first skin using SKIN:Bangs and specifying the "config". However I noticed that the SKIN:GetVariable function does not allow you to specify another "config" to get it from.
To get around this, I have to duplicate the variables in both skins by using SKIN:Bangs to SetVariable for both, and then using SKIN:GetVariable in the other skin. It would be handier if you could specify an optional "config" name to get the variable from to avoid duplication.
Any chance we could get this option added, or was there a reason this wasn't included?
It is currently June 26th, 2019, 11:00 pm
Discuss the use of Lua in Script measures.
1 post • Page 1 of 1