-
Adding checkbox keyframes at determined times with a script
Hi everyone,
I’m trying to animate on a series of masks to imitate a hardware LED light bar lighting up, like this:
Right now I have 10 masks on a solid, with each mask’s opacity controlled by a check box in the layer and an if/then expression. The check box means the mask is either 100% on or 100% off. I have 10 checkbox controls on the layer, each one corresponding to a mask that creates an individual “light” in the LED bar.
This solves the problem of animating it on and off light by light really well, but I’m going to need to animate it hundreds of times over the next few months for a lot of different light bars, each one individually indicating a level between 1 and 10.
I would love to be able to run a script to get this done. Does anyone know of a way to do this? The ultimate script would have a way for me to input what number I need to indicate (or be able to call that number from a slider) and then add check box keyframes at 2 frame intervals to animate the “lights” on. So if I need 5 lights to light up on the bar to indicate the strength of an item, I put a slider at 5, run the script, and it sets keyframes for the first 5 checkboxes at 2 frame intervals. Is this reasonable?
Here’s a project example of what I’m talking about.
Motion Graphics Designer
Warm Springs Productions
Missoula, Montana

