Every time you put in a wait command... it pauses the ENTIRE game... so that could be where your problem is...
Try putting the code into a function and using the timer command... Like this:
function _random_move()
start# = timer()
if (timer() - start#) >= 100
Yrotate object 1,rnd(357)
Xrotate object 1,rnd(360)
Zrotate object 1,rnd(360)
endif
if (timer() - start#) >= 200
Yrotate object 2,rnd(350)
Xrotate object 2,rnd(360)
Zrotate object 2,rnd(360)
endif
if (timer() - start#) >= 300
Yrotate object 3,rnd(330)
Xrotate object 3,rnd(360)
Zrotate object 3,rnd(360)
endif
if (timer() - start#) >= 310 then Move object 1,rnd(15)
if (timer() - start#) >= 320 then Move object 2,rnd(15)
if (timer() - start#) >= 330 then Move object 3,rnd(15)
endfunction
and then just put _random_move() in to replace where you have the gosub command...
Hope I Helped...
If Quizz's Are Quizzical, Then What Are Test's?
Check my profile for a quick test of knowladge...