2014-01-07, 21:18
I'm trying to use a var to position an image. The most basic trial doesn't work:
I know the variable is being set because I can change its value for the texture name and use it in the <texture>, and it works fine.
Any ideas?
Code:
<control type="image">
<left>$VAR[Thingumy]</left>
<top>570</top>
<width>50</width>
<height>50</height>
<texture>somepic.png</texture>
</control>
<variable name="Thingumy">
<value>100</value>
</variable>
I know the variable is being set because I can change its value for the texture name and use it in the <texture>, and it works fine.
Any ideas?