Immortal1490
11-24-2005, 08:45 PM
Is there anyway to make a script sleep for a certain amount of time before continuing?
For instance, if I wanted a script to make the selected object move 10 times, (once every second). I could do something like this:
$x = 0;
while ($x < 10){
wait 1;
move -r -1 0 0 ;
$x = $x + 1;
}
I know wait 1; does nothing, but is there something that would stall the script for a certain amount of time?
For instance, if I wanted a script to make the selected object move 10 times, (once every second). I could do something like this:
$x = 0;
while ($x < 10){
wait 1;
move -r -1 0 0 ;
$x = $x + 1;
}
I know wait 1; does nothing, but is there something that would stall the script for a certain amount of time?
