AE ENHANCERS

Expressions/Scripts/Presets
It is currently Sun Dec 21, 2014 7:43 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: triggering Time Remap with markers
PostPosted: Tue Jan 08, 2008 10:02 am 
Offline

Joined: Thu Oct 18, 2007 12:58 pm
Posts: 6
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?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 10:42 am 
Offline

Joined: Sat Jun 05, 2004 7:59 am
Posts: 698
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:
firstMarkTime = thisLayer.marker.key(1).time;
if (time >= firstMarkTime) {
   time - firstMarkTime;
} else {
0;
}


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 11:09 am 
Offline

Joined: Thu Oct 18, 2007 12:58 pm
Posts: 6
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group