-
expression Q
once again i have a Q about expressions,
firt of all, in comp i have a slider wich is generating random numbers between 0 and 100 ,
and also i have 8 solids, attached to objects in zaxwerks inv, and i want Z-3d-scale values of
those solids to act like equalizer led, so i was thinking about expression for the Z-3d-scale value
of those solids wich will look something like this :temp = thisComp.layer(“slider”).effect(“Slider Control”)(“Slider”);
temp2 = if(temp //HERE I DONT KNOW WHAT TO ENTER// = array (20, 100))100 else 0
[100, 100, temp2]???????????????????????????????????????????????
and now explanation to my heretical writings 😛
i whant temp2 to be 100 when temp is in array between 20 and 100, when its below 20, temp2 is 0.i’m little lost in expression , so maybe it’s not properly wrighted, but way of thinking is good 😉
cheers.