Fantastic. There are better ways to do this if you're interested, but they're much more complicated. Set driven keys is a quick method, and in some cases that's all you need.Set driven keys is exactly what I need! Thanks a lot!!
file = read filename data = read file go to time 1 for i = 0 to number of lines in data { go to time i line = ith line of data tokens = tokenize line by comma kickVal = (int)tokens[1] if (kickVal == 1) { set locator to position 1 set keyframe on locator } else if (kickVal == 2) { set locator to position 2 set keyframe on locator } else if (kickVal == 3) { set locator to position 3 set keyframe on locator } }