-
Different If/Else statments
Hi there, this must be an AEExpression 101 but I’ve just started messing around with expressions.
I need to execute some different movements on a 3d layer with a simple wiggle, stop the movement for a while and then begin it again. My question is, How can I declare and If/else statement and then when it is done the code executes the next if/else statement?. I came up with this basic solution but it doesn’t work. Tha code is within the Layer’s position.
But what I’m reallyx2 interested in knowing how to execute and array of If/Else statements one at a time, I mean one after another in a consecutive order. Like respecting a simple coma or something like that 🙂 (I know is not that simple but you know what I mean.
Thanxs for any hint on this one. Have a nice day.
shakeTime = 2;
stopTime = 4;if((time<shakeTime) && (time>stopTime)){
wiggle(8,10);
}else{value,value,value;
}// and then after this do something else like change the opasity with another If/else statement.