I want to make a skin about the moon, which displays for each percentage of illumination, an image.
For the first part it is ok, The values returned by the webparser measure are increasing from 0 to 100. The images will be ...97.png, 98.png, 99.png ...
The formula can be for example:
Code: Select all
[MeasureA]
Measure=Calc
Formula=(((MeasureValue >= 97) && (MeasureValue < 98)) ? 97 : (((MeasureValue >= 98) && (MeasureValue < 99)) ? 98
But the problem appears in the formula. There will be the same formula as the first part only the number of the picture you will be different.
Code: Select all
[MeasureB]
Measure=Calc
Formula=(((MeasureValue >= 97) && (MeasureValue < 98)) ? 197 : (((MeasureValue >= 98) && (MeasureValue < 99)) ? 198
Any idea how could the formula be for the second part?
Thanks