-
reference key frames in condition of expression
I know I’ve seen this in the Cow forums before but I’m not able to find it at the moment and I’ve been searching for an hour or so (which, admittedly, might point to my stupidity)…
I need to reference a couple of key frames in an “if”…
Here’s what I have, but it’s giving me errors. Help anyone?
//get the specific keyframes
timeA = transform.position.key(1);
timeB = transform.position.key(3);//wiggle properties
a = wiggle(40, 40);
b = wiggle(20, 30);//condition
if(time > timeA && time < timeB); { [a[0], b[1], value[2]]; } As is, the code doesn't get in the way of wiggle, but wiggle happens regardless of what keyframe the CTI is at and if I add an "else" statement I get a "use of reserved word" error... Also, when I code in PHP or JS, there are complete manuals for every function and operator that you have. Does anyone know where to find anything like that for AE Expressions?? (https://us2.php.net/manual/en/index.php is a great example)