Is there a way for me to incorporate three IfActions in one skin? Example:
I have an image that cycles through 81 images to show a pretty cool effect (see below for source). I've chosen to tweak it to my liking and have it do two things. The first effect I'm working on is have it change color based on the CPU temperature. This effect works if I incorporate only one IfAbove pair and one IfBelow pair. What I want is a third so I can effectively show cool, heating up, and hot temperatures through this visualization.
If (MeasureSpeedTemp5 > 38) Then
3
Else
If (MeasureSpeedTemp5 > 28) Then
2
Else
1
So the formula comes out as "3", "2" or "1", depending on the value of [MeasureSpeedTemp5]. It then uses a substitute to change the numbers into color names: Substitute="3":"Red","2":"Yellow","1":"Blue"
Finally, the image meter can insert the value of [ImageColorCalc] as a dynamic variable, just like it does with [ImageNumberCalc]:
So this would ultimately come out as e.g. "ImagesFramesBlue\50.png", or "ImagesFramesRed\72.png", or "ImagesFramesYellow\5.png", etc. This saves you the trouble of using separate meters for each color.
Damn that's nice! Thank you very much for the help and explanation! I was trying to read it as an If-Then-Else, but couldn't pull it together. As soon as you said that I was able to figure it out.