Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1085

Help: Rainmeter Skins • s

$
0
0
I can't find how to make an animation to wait a determined amount of time until start all over again.
ActionTimer, as SilverAzide proposed, is definitely the best way to achieve this, however there is a simpler approach as well, which makes this in a similar way as yours. Here is what you have to do:
  • Add the Length variable to the [Variables] section. For instance: Length=30. This is the length of the wait, in update cycles.
  • Replace the Formula option of the [ImageNumberCalc1] measure by the following one: Formula=( Clamp ((( Counter % ( 30 + #Length# )) - #Length# ), 0, 30 )) .
This is all you have to do. Using this formula, when the counting achieves the largest value (30 in this case), it jumps to 0, waits a number of updates equal to #Length#, then restarts counting from 0 to 30.
Is this approach good enough for your needs? Test it please and let me know if something goes wrong. If you want to use the ActionTimer plugin, let us know as well, for detailed help.

Statistics: Posted by balala — Today, 2:24 pm



Viewing all articles
Browse latest Browse all 1085

Trending Articles