Question
Expression error in script
Can anyone help with this script
// Talking Head Expression
aa=thisComp.layer("Talking Head Controls")("ADBE Effect Parade")("Audio Amplitude")(1);
t=thisComp.layer("Talking Head Controls")("ADBE Effect Parade")("Mouth Open Threshold")(1);
mShape = thisComp.layer("Talking Head Controls")("ADBE Effect Parade")("Mouth Shape Open")(1);
thisShape = parseInt(name.substring(name.lastIndexOf(" ")+1, name.length));
count = thisComp.layer("Talking Head Controls").effect("Mouth Open Count")(1);
v_min = t * (thisShape);
v_max = t * (thisShape+1);
linkShapeAudio = thisComp.layer("Talking Head Controls").effect("Link Mouth Shape to Volume")(1);
linkShapeAudio?(aa>=t && mShape == thisShape)?100:0:((thisShape != count && aa >= v_min && aa < v_max) || (thisShape == count && aa >= v_min))?100:0;This project contains expression errors: errors 1 of 2
Error at line 10 in property 'Opacity' of layer 14 ('Mouth Open 11') in comp 'Ghazi_Front_02'. Expected:., an expression was disabled as a result of an error
