-
include a script from another layer?
I’d like to have the same expression applied to every layer (text object), and I’d like to get the script from a “master script” location, presumably on another layer.
For example, I’m using a helpful script that I got from the cow (see expression box), but I’d simply like to reference the script from another layer, since it’s going to be the same for every text layer. I can set up my numbers in a null, but I’d like to be able to test the effects of an entirely new script on everyone without having to swap out the script on all of them. If I use the pic-whip to reference the null’s script, it almost works, but the “inPoint” property refers to the null’s inpoint instead of the layer the script is applied to. I’d like something like a layer #include. Is there such a thing?
Thanks,
GregstartScale = 0; // percent of Scale at start
endScale = 20; // percent of Scale at end
scaleUpTime = 10; // time to scale up from inPoint in secondss = [endScale - startScale] /scaleUpTime;
sx = startScale + ((time-inPoint) * s);ss = clamp(sx,endScale,startScale);
value+[ss,ss]
Antifreeze Design
https://www.antifreezedesign.com