-
switching AE Layers randomly on (within a given time)
Im looking for a Script witch set the opacity of a layer randomly to 100% (starting with 0)
I found this within the forums:—————————-
holdTime = .5; //time to hold each position (seconds)
seed = Math.floor(time/holdTime);
seedRandom(seed,true);
hmm = random(0,10);
if (hmm >5){
transform.opacity=100};
else {transform.opacity=0};its kind of what I want, but I want the layers to stay on.
——————————-If I could make a wish it should do this:
switch the opacity of a layer on within a given time (a variable) say a second (randomly within this second switch on)
then stay on for a given time (3,5,10 sek another variable)
than switch back off within a given time
on within a second
stay on for 5 sekonds
off after (in this case) 6 seconds within a second
together 7 secondsany idea, I’m not good at coding ;O)