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

Help: Rainmeter Skins • Re: Help with Multiple left clicks skin

$
0
0
nvm i figured it outtt but i was wondering if u could help me define it more. i want the hearts to only update to half/full only when they're dead in at time i put in measurehearts instead so it can be more customized

Code:

[Variables]Counter=0NumOfClicks=7HiddenStatus=0ClickCount=0[MeasureHeartLoop]Measure=LoopStartValue=0EndValue=10000000Increment=1UpdateDivider=1DynamicVariables=1[MeasureHeartLoop1]Measure=CalcFormula=#Counter#IfCondition=(#CURRENTSECTION#=0)IfTrueAction=[!UpdateMeter "Heart1"][!UpdateMeter "Heart2"][!UpdateMeter "Heart3"][!Redraw]IfCondition2=(#CURRENTSECTION#=1)IfTrueAction2=[!SetOption Heart1 ImageName "half_heart.png"][!UpdateMeter "Heart1"][!Redraw]IfCondition3=(#CURRENTSECTION#=2)IfTrueAction3=[!SetOption Heart1 ImageName "full_heart.png"][!UpdateMeter "Heart1"][!Redraw]IfCondition4=(#CURRENTSECTION#=3)IfTrueAction4=[!SetOption Heart2 ImageName "half_heart.png"][!UpdateMeter "Heart2"][!Redraw]IfCondition5=(#CURRENTSECTION#=4)IfTrueAction5=[!SetOption Heart2 ImageName "full_heart.png"][!UpdateMeter "Heart2"][!Redraw]IfCondition6=(#CURRENTSECTION#=5)IfTrueAction6=[!SetOption Heart3 ImageName "half_heart.png"][!UpdateMeter "Heart3"][!Redraw]IfCondition7=(#CURRENTSECTION#=6)IfTrueAction7=[!SetOption Heart3 ImageName "full_heart.png"][!UpdateMeter "Heart3"][!Redraw]DynamicVariables=1[DebugLoop]Meter=StringText=[MeasureHeartLoop]Fontcolor=100,201,90fontweight=700X=96Y=222FontSize=10DynamicVariables=1[Heart1]Meter=ImageImageName=full_heart.pngX=-14Y=-10W=100H=100DynamicVariables=1[Heart2]Meter=ImageImageName=full_heart.pngX=18Y=-10W=100H=100DynamicVariables=1[Heart3]Meter=ImageImageName=full_heart.pngX=50Y=-10W=100H=100DynamicVariables=1[MeasureHeart3]Measure=CalcFormula=MeasureHeartLoopIfCondition=(MeasureHeartLoop >= 2)IfTrueAction=[!SetOption Heart3 ImageName "full_heart.png"][!UpdateMeter Heart3][!Redraw]IfCondition2=(MeasureHeartLoop >= 3)IfTrueAction2=[!SetOption Heart3 ImageName "half_heart.png"][!UpdateMeter Heart3][!Redraw]IfCondition3=(MeasureHeartLoop >= 4)IfTrueAction3=[!SetOption Heart3 ImageName "dead_heart.png"][!UpdateMeter Heart3][!Redraw]DynamicVariables=1[MeasureHeart2]Measure=CalcFormula=MeasureHeartLoopIfCondition=(MeasureHeartLoop >= 5)IfTrueAction=[!SetOption Heart2 ImageName "full_heart.png"][!UpdateMeter Heart2][!Redraw]IfCondition2=(MeasureHeartLoop >= 6)IfTrueAction2=[!SetOption Heart2 ImageName "half_heart.png"][!UpdateMeter Heart2][!Redraw]IfCondition3=(MeasureHeartLoop >= 7)IfTrueAction3=[!SetOption Heart2 ImageName "dead_heart.png"][!UpdateMeter Heart2][!Redraw]DynamicVariables=1[MeasureHeart1]Measure=CalcFormula=MeasureHeartLoopIfCondition=(MeasureHeartLoop >= 8)IfTrueAction=[!SetOption Heart1 ImageName "full_heart.png"][!UpdateMeter Heart1][!Redraw]IfCondition2=(MeasureHeartLoop >= 240)IfTrueAction2=[!SetOption Heart1 ImageName "half_heart.png"][!UpdateMeter Heart1][!Redraw]IfCondition3=(MeasureHeartLoop >= 9)IfTrueAction3=[!SetOption Heart1 ImageName "dead_heart.png"][!UpdateMeter Heart1][!Redraw]DynamicVariables=1[ImageNumberCalc5]Measure=CalcFormula=Counter % 5DynamicVariables=1[ImageMeter3]Meter=ImageImageName=burger[ImageNumberCalc5].pngX=60Y=25W=200H=200AntiAlias=1DynamicVariables=1Hidden=1[ImageNumberCalc]Measure=CalcFormula=Counter % 6DynamicVariables=1[ImageMeter]Meter=ImageImageName=idle[ImageNumberCalc].pngX=60Y=25W=200H=200AntiAlias=1DynamicVariables=1[FeedButton]Meter=StringText=FeedButtonX=34Y=250FontSize=20LeftMouseUpAction=[!SetVariable Counter "((#Counter#+1)%#NumOfClicks#)"][!UpdateMeasure "MeasureHeartLoop"]DynamicVariables=1DynamicVariables=1
 
To be honest your explanation was not too clear, but if what I did post was what you asked for, another thing has to clarified. Namely, is there any reason to use multiple Image meters ([heart1], [heart2] and [heart3])? Because strictly speaking, there is no need for this. One single such meter is completely enough. The image can be set on that meter, without having to have other Image meters as well. So, why so you want to use three such Image meters?

Statistics: Posted by delirious — Today, 8:32 pm



Viewing all articles
Browse latest Browse all 1044

Trending Articles