diffeuse texture variable possible
#1
as title says can I use a variable as diffuse texture
PHP Code:
    <texture background="true" diffuse="$VAR[Fanartdif]">$INFO[ListItem.Property(Fanart_Image)]</texture>[/code
and variable
PHP Code:
        <variable name="Fanartdif">
        <
value condition="Control.IsVisible(51)">my_textures/difftest.png</value>
    </
variable

it will not work
Reply
#2
Not possible must be a specific file.
Reply
#3
and this is not possible either <texture condition="Control.IsVisible(51)"> right ?
thank you Hitcher
Reply
#4
You'd have to just have 2 image controls with the visible condition in them.
Reply
#5
thank you.
just to be sure I am not misunderstanding anything I need a different image control for each view I wann use a different diffuse texture ?
Reply
#6
Yes, simply add a visible condition to each one.
Reply
#7
Thank you.
Reply

Logout Mark Read Team Forum Stats Members Help
diffeuse texture variable possible0