Page 1 of 1

Start comp at frame 1

Posted: July 13th, 2012, 1:08 pm
by ernpchan
Is there a way to make a comp start at frame 1 reliably through scripting? I've made a script but sometimes it won't always change the start frame to 1. Sometimes it changes it to 2. I have:

Code: Select all

var startFrame = 1/24;
Which equals 0.04166666.

On some computers .041 sets the comp to 1. On some .042 sets it to 1. Is this because of the individual's computers internal clock? How can I get the math to work regardless of computer. I tried putting in a if statement that checks who the user is but that doesn't seem to be working 100% of the time.