triggering Time Remap with markers

Moderators: Disciple, zlovatt

Post Reply
berTron
Posts: 6
Joined: October 18th, 2007, 12:58 pm
Contact:

January 8th, 2008, 10:02 am

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?
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

January 8th, 2008, 10:42 am

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;
}
berTron
Posts: 6
Joined: October 18th, 2007, 12:58 pm
Contact:

January 8th, 2008, 11:09 am

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?
User avatar
reubenlara
Posts: 10
Joined: March 16th, 2018, 6:22 am

October 23rd, 2018, 9:48 am

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!
User avatar
reubenlara
Posts: 10
Joined: March 16th, 2018, 6:22 am

October 23rd, 2018, 9:49 am

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!
Post Reply