Tank Tracks Tutorial (2)

Hi everyone,

I'm just trying out the tank tracks tutorial from the xsi tutorials section here on Highend, but there seem to be a few problems with the scipts that are given in it.

I've basically created a piece of tank track, called tread1, a motion path for the tracks called track_path_R and have attached the tread1 to this path. I then removed the animation from tread1's pathcns node, and added the following expression;

( contrl_track_R.kine.local.rotx /360*100 ) + ( 1*1.351 )

I duplicated the tread1 30 times and then I am told to run the following in the script editor;

I=1;
space = 1.351;

                              for I <= 74 do

                                     SetExpr "treadi.kine.pathcns.perc", 
                                      "( contrl\_track\_R.kine.local.rotx / 360 * 100 ) 
                                      + ( I * space )";

                                  I ++;

I do this, but I get loads of errors - can anyone help me find out what the problem is, as I've never really used VB script before!!