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: Select all
<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: Select all
while 1
{
wait 2
i:Inc
UIElement[eSlider@eMainTab@eTabControl@eui]:SetValue[${i}]
UIElement[eBotState@eMainTab@eTabControl@eui]:SetText[${i}]
UIElement[eGauge@eMainTab@eTabControl@eui]:SetValue[${i}]
}