It is currently February 20th, 2020, 10:01 pm

Question on DynamicVariables=1

Help with creating, editing & fixing problems with skins
Yincognito
Posts: 781
Joined: February 27th, 2015, 2:38 pm

Re: Question on DynamicVariables=1

Post by Yincognito »

Thanks, Brian - all clear now.
User avatar
jsmorley
Developer
Posts: 20271
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Question on DynamicVariables=1

Post by jsmorley »

Brian wrote:
February 4th, 2019, 6:06 am
In "production" skins, what I like to do is instead of using a "dummy" option to force a one-time dynamic reading of options, is to use the DynamicVariables option itself.
[!SetOption SomeSection DynamicVariables "0"]

This way you can still understand "why" you placed that there at a later time when the skin isn't so fresh in your mind. Or if you happen to distribute the skin, other users can attempt to understand what you are doing. [!SetOption Something Dummy ""] isn't going to make a lot of sense to most users, and might even throw you for a loop 2 years later when updating your skin.

-Brian
That's a good idea.