Hi,
I would like to show an item only when 2 conditions are true.
- The GENRE of the loaded song has to be CORTINA
- The Elapsed time should be less than 10 seconds.
param_equal Cortina `get_automix_song 'Genre' 0 && param_greater 10000 `get_time 'elapsed' 1000` ? yes : no
But now I need to place this in the visibility tag, and it's not working. I have also tried && but no result either.
<item visibility="param_equal Cortina `get_automix_song 'Genre' 0 && param_greater 10000 `get_time 'elapsed' 1000` ? yes : no">
Both conditions separately are working.
<item visibility="param_equal Cortina `get_automix_song 'Genre' 0 ? yes : no">
<item visibility="param_greater 10000 `get_time 'elapsed' 1000` ? yes : no">
Thank you in advance.
I would like to show an item only when 2 conditions are true.
- The GENRE of the loaded song has to be CORTINA
- The Elapsed time should be less than 10 seconds.
param_equal Cortina `get_automix_song 'Genre' 0 && param_greater 10000 `get_time 'elapsed' 1000` ? yes : no
But now I need to place this in the visibility tag, and it's not working. I have also tried && but no result either.
<item visibility="param_equal Cortina `get_automix_song 'Genre' 0 && param_greater 10000 `get_time 'elapsed' 1000` ? yes : no">
Both conditions separately are working.
<item visibility="param_equal Cortina `get_automix_song 'Genre' 0 ? yes : no">
<item visibility="param_greater 10000 `get_time 'elapsed' 1000` ? yes : no">
Thank you in advance.
发表时间 2 days ago @ 1:36 am
You should nest your queries:
Please use the SKINS forum for skin coding related questions.
Thank you
visibility="param_equal Cortina `get_automix_song 'Genre' 0 ? param_greater 10000 `get_time 'elapsed' 1000`"
Please use the SKINS forum for skin coding related questions.
Thank you
发表时间 yesterday @ 12:09 pm
Yes, I found that out. Thank you.
发表时间 yesterday @ 8:25 pm