Connexion rapide:  

Forum: VirtualDJ Skins

Sujet How to make button light up when effect is on?

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

Hi guys.

I have made a button that will activate a clipbank (in this example called "shadow" because it has shadow dancer clips), everytime I push it, with a different (the next) clip:

<button pannel="VFXB4" action="cycle 'shadow' 24 & var_equal 'shadow' 1 ? video_fx_select 'shadow' & video_fx_button 1 & video_fx : var_equal 'shadow' 2 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 3 ? video_fx_select 'shadow' & video_fx_button 2 & video_fx : var_equal 'shadow' 4 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 5 ? video_fx_select 'shadow' & video_fx_button 3 & video_fx : var_equal 'shadow' 6 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 7 ? video_fx_select 'shadow' & video_fx_button 4 & video_fx : var_equal 'shadow' 8 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 9 ? video_fx_select 'shadow' & video_fx_button 5 & video_fx : var_equal 'shadow' 10 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 11 ? video_fx_select 'shadow' & video_fx_button 6 & video_fx : var_equal 'shadow' 12 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 13 ? video_fx_select 'shadow' & video_fx_button 7 & video_fx : var_equal 'shadow' 14 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 15 ? video_fx_select 'shadow' & video_fx_button 8 & video_fx : var_equal 'shadow' 16 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 17 ? video_fx_select 'shadow' & video_fx_button 9 & video_fx : var_equal 'shadow' 18 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 19 ? video_fx_select 'shadow' & video_fx_button 10 & video_fx : var_equal 'shadow' 20 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 21 ? video_fx_select 'shadow' & video_fx_button 11 & video_fx : var_equal 'shadow' 22 ? off & video_fx_select 'shadow' & video_fx : var_equal 'shadow' 23 ? video_fx_select 'shadow' & video_fx_button 12 & video_fx : off & video_fx_select 'shadow' & video_fx">

How can I make this button light up each time the clipbank is activated?

("on" and "off" verbs won't work 'cause it's a cycled button...)


 

Posté Thu 22 Mar 12 @ 10:43 am
video fx aren't that smart unfortunately... the only thing you could do is have the button lit when you have the effect selected and it is on, but with this method the button will turn off if you select another video effect, even if clipbank is still active.

video_fx_select "clipbank" ? video_fx ? on : off : off
 

Posté Thu 22 Mar 12 @ 6:11 pm
Thanks! I'll try that! :)
 

Posté Sat 24 Mar 12 @ 11:42 am


(Les anciens sujets et forums sont automatiquement fermés)