Page 1 of 1

triggering Time Remap with markers

Posted: January 8th, 2008, 10:02 am
by berTron
I'm trying to be able to control when a pre-comp starts playing with a layer marker, but so far I can only get it to go to the start frame and then immediately go back to the default.

How can i get it so a marker "hits play" for a layer and then the layer's time just keeps going?

Posted: January 8th, 2008, 10:42 am
by Paul Tuersley
This expression (applied to the time remap property) will make the time remap value start to increase from the layer's first marker:

Code: Select all

firstMarkTime = thisLayer.marker.key(1).time;
if (time >= firstMarkTime) {
	time - firstMarkTime;
} else {
0;
}

Posted: January 8th, 2008, 11:09 am
by berTron
Thanks, I was able to figure it out once I thought backwards about it.

boobies = marker.key(1).time;
temp_Remap = time;
if (time < marker.key(1).time)
{temp_Remap = 0};
else
{temp_Remap = time-boobies};
temp_Remap

like my variable name?

Re: triggering Time Remap with markers

Posted: October 23rd, 2018, 9:48 am
by reubenlara
Be sure to check out Marker Remap ( http://aescripts.com/marker... ) which builds an After Effects panel around split layer markers and has the additional bonus of a robust marker management panel. Gives AE CC 2019's new Responsive Design features a run for it's money!

Re: triggering Time Remap with markers

Posted: October 23rd, 2018, 9:49 am
by reubenlara
Be sure to check out Marker Remap http://aescripts.com/marker-remap which builds an After Effects panel around split layer markers and has the additional bonus of a robust marker management panel. Gives AE CC 2019's new Responsive Design features a run for it's money!