tinyromeo
Active Member
I am going to post this in Lax's forums as well cause I know it is an innerspace thingy, but if anyone here has a moment...
I am trying to get a gauge to.. well fill...
so far I have successfully textured a slider, it isn't what I want, but I figured I the syntax would be similar, thusly it is not...
So far I am doing...
This for my UI, the slider I textured is first then my unworking gauge
And I am doing this in my code (which I know the slider is working, cause it moves... and also the text updates correctly as well so hmmm...)
The slider works dandy, the text counts along, but the gauge doesn't fill... any thoughts?
I am trying to get a gauge to.. well fill...
so far I have successfully textured a slider, it isn't what I want, but I figured I the syntax would be similar, thusly it is not...
So far I am doing...
This for my UI, the slider I textured is first then my unworking gauge
Code:
<slider Name='eSlider'>
<X>10</X>
<Y>300</Y>
<Border>1</Border>
<Width>20</Width>
<Height>50</Height>
<Range>100</Range>
<Vertical></Vertical>
<Texture Filename='Green.png'></Texture>
<AutoTooltip>Zoom level</AutoTooltip>
</slider>
<gauge Name='eGauge'>
<X>50</X>
<Y>300</Y>
<Border>1</Border>
<Width>20</Width>
<Height>50</Height>
<Range>100</Range>
<Value>0</Value>
<Vertical></Vertical>
<Texture filename='Red.png'></Texture>
<Filler>
<Texture filename="Green.png"></Texture>
</Filler>
<AutoTooltip>Zoom level</AutoTooltip>
</gauge>
Code:
while 1
{
wait 2
i:Inc
UIElement[eSlider@eMainTab@eTabControl@eveboxerui]:SetValue[${i}]
UIElement[eBotState@eMainTab@eTabControl@eveboxerui]:SetText[${i}]
UIElement[eGauge@eMainTab@eTabControl@eveboxerui]:SetValue[${i}]
}