Start comp at frame 1

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
ernpchan
Posts: 56
Joined: February 8th, 2010, 11:27 pm

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