Page 1 of 1

UpdateDivider as a variable

Posted: October 12th, 2017, 8:35 pm
by JediWarrior
Hello All,
Is it possible to use a variable to control theUpdateDivider There are meters in the skin I'm working on that spend most of the time hidden but when they do appear they might be a bit processor heavy 'cus they all involve animation. Can I change the UpdateDivider with a variable or is it unchangeable once the code is running? Thanks in anticipation :? :? :confused: :confused: :confused:

Re: UpdateDivider as a variable

Posted: October 12th, 2017, 10:18 pm
by jsmorley
You can...

SomeAction=[!SetOption SomeMeter UpdateDivider "50"]

Or if you really want:

Code: Select all

[Variables]
myDivider=1

[MyMeter]
Meter=String
UpdateDivider=#myDivider#
DynamicVaraibles=1

...

SomeAction=[!SetVariable myDivider "50"]
SomeOtherAction=[!SetVariable myDivider "1"]

Re: UpdateDivider as a variable

Posted: October 12th, 2017, 10:30 pm
by JediWarrior
Thank Yvt ou very much for your prompt reply. I have changed the design a bit only about an hour ago so Im not quiet there yet but I'm sure I can sort it now with what you've given me. you people really are the Best,, Thanks :D :D :D :bow: :bow: :bow: :thumbup: :thumbup: :thumbup: