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?
Thanks.
It is currently April 26th, 2024, 6:41 pm
SKIN:GetVariable specify another config
-
- Posts: 70
- Joined: October 1st, 2012, 4:53 am