at the top of your code you seem to set up the starting angles for your objects like this:
yrotate object 1,-90
yrotate object 2,-90
yrotate object 3,-90
but after that, you have the "rotate object 1,0,x,0" command... but you never initialize the "x" variable. so the first loop, the objects will be rotated to 0 (what a variable defaults to).
after your:
yrotate object 1,-90
yrotate object 2,-90
yrotate object 3,-90
you might try this:
fix object pivot 1
fix object pivot 2
fix object pivot 3
also, you are actually rotating on the Y axis, so you should change your variable name to "y", or "Y_Angle" or something similar...
Go Go Gadget DBPRO!
Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB