Here’s what I finally came up with but the null I want to move to those positions isn’t actually moving. Also, Having it actually slide instead of jumping to positions would be ideal.
Cont1 = thisComp.layer(“Cont01”).transform.position;
Cont2 = thisComp.layer(“Cont02”).transform.position;
Cont3 = thisComp.layer(“Cont03”).transform.position;
Cont4 = thisComp.layer(“Cont04”).transform.position;
Cont5 = thisComp.layer(“Cont05”).transform.position;
Cont6 = thisComp.layer(“Cont06”).transform.position;
ContSel = thisComp.layer(“AUTO SCRIPT CONTROLLER – CONTINENT”).effect(“Slider Control”)(“Slider”);
if (ContSel = (1)){
value = Cont1
}
else {
[960,540]
}
if (ContSel = (2)){
value = Cont2
}
else {
[960,540]
}
if (ContSel = (3)){
value = Cont3
}
else {
[960,540]
}
if (ContSel = (4)){
value = Cont4
}
else {
[960,540]
}
if (ContSel = (5)){
value = Cont5
}
else {
[960,540]
}
if (ContSel = (6)){
value = Cont6
}
else {
[960,540]
}
Motion Designer / DJ / Father
http://www.lukaszpason.com
http://www.krop.com/lukasz