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
It is currently March 28th, 2024, 5:53 pm
UpdateDivider as a variable
-
- Posts: 60
- Joined: June 18th, 2017, 8:22 pm
- Location: Liverpool UK
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: UpdateDivider as a variable
You can...
SomeAction=[!SetOption SomeMeter UpdateDivider "50"]
Or if you really want:
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"]
-
- Posts: 60
- Joined: June 18th, 2017, 8:22 pm
- Location: Liverpool UK
Re: UpdateDivider as a variable
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