Nah, it doesn’t work for the LIDS and MOUTHS.
It does work for the comps which opacities hadn’t been expressed yet (pupils, eyebrows and head turns), though.
That’s why I thought it would work for every other layer.
I’m pasting the basic layers and expressions of my project, so that hopefully someone can point out what i’m doing wrong:
1. HEAD_CTRL (null):
– HOR/VER (checkbox)
– HEAD_TURN_HOR (slider)
– BLINK_HOR (slider)
– MOUTHS_HOR (slider)
– HEAD_TURN_VER (slider)
– BLINK_VER (slider)
– MOUTHS_VER (slider)
2. V_MOUTHS_U (comp): parent: HEAD_CTRL
– Expression: Time Remap
thisComp.layer("V_HEADTURN").timeRemap
– Expression: Opacity
cb = thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if (cb == 0){a=thisComp.layer("HEAD_CTRL").effect("MOUTHS_VER")("Slider");
if((a>=0)&&(a<10)) 100 else 0
}else{
a=thisComp.layer("HEAD_CTRL").effect("MOUTHS_HOR")("Slider");
if((a>=0)&&(a<10)) 100 else 0
}
(same for 10 more vertical mouths variations)
…
13. V_EYEBROWS (comp): parent: HEAD_CTRL
– Expression: Time Remap
thisComp.layer("V_HEADTURN").timeRemap
– Expression: Y position
a=thisComp.layer("HEAD_CTRL").effect("BLINK_VER")("Slider");
if((a>=30)&&(a<40)) value else value+4
– Expression: Opacity
cb=thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if(cb==0) 100 else 0
14. V_LIDS_CLOSED (comp): parent: HEAD_CTRL
– Expression: Time Remap
thisComp.layer("V_HEADTURN").timeRemap
– Expression: Opacity
cb = thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if (cb == 0){a=thisComp.layer("HEAD_CTRL").effect("BLINK_VER")("Slider");
if((a>=0)&&(a<10)) 100 else 0
}else{
a=thisComp.layer("HEAD_CTRL").effect("BLINK_HOR")("Slider");
if((a>=0)&&(a<10)) 100 else 0
}
(same for 3 other vertical LIDS variations)
18. V_R_PUPIL (comp): parent: PUPIL_R_CTRL
– Expression: Time Remap
thisComp.layer("V_HEADTURN").timeRemap
– Expression: Opacity
cb=thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if(cb==0) 100 else 0
19. V_L_PUPIL (comp): parent: PUPIL_L_CTRL
– Expression: Time Remap
thisComp.layer("V_HEADTURN").timeRemap
– Expression: Opacity
cb=thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if(cb==0) 100 else 0
20. PUPIL_R_CTRL (shape) parent: EYE_R_CTRL
21. PUPIL_L_CTRL (shape) parent: EYE_L_CTRL
22. EYE_R_CTRL (shape) parent: H_HEADTURN
23. EYE_L_CTRL (shape) parent: H_HEADTURN
24. H_MOUTH_U (comp): parent: HEAD_CTRL
– Expression: Time Remap
thisComp.layer("H_HEADTURN").timeRemap
– Expression: Opacity
cb = thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if (cb == 1){a=thisComp.layer("HEAD_CTRL").effect("MOUTHS_HOR")("Slider");
if((a>=0)&&(a<10)) 100 else 0
}else{
a=thisComp.layer("HEAD_CTRL").effect("MOUTHS_VER")("Slider");
if((a>=0)&&(a<10)) 100 else 0
}
(same for 10 more horizontal mouth variations)
35. H_EYEBROWS (comp): parent: HEAD_CTRL
– Expression: Time Remap
thisComp.layer("H_HEADTURN").timeRemap
– Expression: Y position
a=thisComp.layer("HEAD_CTRL").effect("BLINK_HOR")("Slider");
if((a>=30)&&(a<40)) value else value+4
– Expression: Opacity
cb=thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if(cb==0) 100 else 0
36. H_LIDS_CLOSED (comp): parent: HEAD_CTRL
– Expression: Time Remap
thisComp.layer("H_HEADTURN").timeRemap
– Expression: Opacity
cb = thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if (cb == 1){a=thisComp.layer("HEAD_CTRL").effect("BLINK_HOR")("Slider");
if((a>=0)&&(a<10)) 100 else 0
}else{
a=thisComp.layer("HEAD_CTRL").effect("BLINK_VER")("Slider");
if((a>=0)&&(a<10)) 100 else 0
}
(same for 3 more horizontal LIDS variations)
40- H_R_PUPIL (comp): parent: PUPIL_R_CTRL
– Expression: Time Remap
thisComp.layer("H_HEADTURN").timeRemap
– Expression: Opacity
cb=thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if(cb==1) 100 else 0
41. H_L_PUPIL (comp): parent: PUPIL_L_CTRL
– Expression: Time Remap
thisComp.layer("H_HEADTURN").timeRemap
– Expression: Opacity
cb=thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if(cb==1) 100 else 0
42. V_HEADTURN (comp): parent: HEAD_CTRL
– Expression: Time Remap
a=thisComp.layer("HEAD_CTRL").effect("HEAD_TURN_VER")("Slider");
framesToTime(a)
– Expression: Opacity
cb=thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if(cb==0) 100 else 0
43. H_HEADTURN (comp) parent: HEAD_CTRL
– Expression: Time Remap
a=thisComp.layer("HEAD_CTRL").effect("HEAD_TURN_HOR")("Slider");
framesToTime(a)
– Expression: Opacity
cb=thisComp.layer("HEAD_CTRL").effect("HOR/VER")("Checkbox");
if(cb==1) 100 else 0
Thanks for the help!