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?
triggering Time Remap with markers
-
- Posts: 704
- Joined: June 5th, 2004, 7:59 am
- Location: London, UK
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;
}
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?
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?
- reubenlara
- Posts: 10
- Joined: March 16th, 2018, 6:22 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!
- reubenlara
- Posts: 10
- Joined: March 16th, 2018, 6:22 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!