Hi. I have a group of 13 meters, each of which has a MeasureName=msrPeriodnIconNumber option, where n is a variable which increases consecutively from 1 to 13 (or from 0 to 12), and the measure value is used in the ImageName option to select an icon. Rather than create 13 variables and setting their individual value, I would like to use a single variable, and increment it's value for each meter. But I don't think that a formula can be used as a variable in a measure name in this way. At least, I haven't been able to make it work. Is there a way of doing this, apart from just setting 13 variable values?
The reason for doing this, is that the group of variables/measures may run from 1 through 13, or from 0 through 12, depending on whether it is day or night. But it is not just a single group of 13 meters; rather there is a group of 13 meters (representing 13 time periods) for every attribute to be displayed (icon, condition, temperature, wind speed, wind direction, etc.). Based on whether it is day or night, I suppose I could use Bangs to set the value of the 13 variables. I just wondered if there was a more elegant way of doing this?
And an additional question: the first group of 13 meters mentioned above, which give the number of the icon to be displayed, always generate a whole group of "ImageName: unable to open path\.png" errors each time the skin is loaded or refreshed, although the correct icons do get displayed. The errors do no occur when the skin updates. I suspect that this may be because the corresponding measures do not immediately have values for the icon numbers, but I don't know how to work around this, as I don't think meters can be disabled the way measures can, in order to then be enabled when the measures are ready. At least, when I applied Disabled=1 to each of the meters, it had no effect.
The reason for doing this, is that the group of variables/measures may run from 1 through 13, or from 0 through 12, depending on whether it is day or night. But it is not just a single group of 13 meters; rather there is a group of 13 meters (representing 13 time periods) for every attribute to be displayed (icon, condition, temperature, wind speed, wind direction, etc.). Based on whether it is day or night, I suppose I could use Bangs to set the value of the 13 variables. I just wondered if there was a more elegant way of doing this?
And an additional question: the first group of 13 meters mentioned above, which give the number of the icon to be displayed, always generate a whole group of "ImageName: unable to open path\.png" errors each time the skin is loaded or refreshed, although the correct icons do get displayed. The errors do no occur when the skin updates. I suspect that this may be because the corresponding measures do not immediately have values for the icon numbers, but I don't know how to work around this, as I don't think meters can be disabled the way measures can, in order to then be enabled when the measures are ready. At least, when I applied Disabled=1 to each of the meters, it had no effect.
Statistics: Posted by qwerky — Today, 12:00 am