I'd like to pause the script for a few secs. For instance I want my character to slow down a little bit every second. So what I'd do is run a for loop like this
xvelocity=10;
int a;
for(a=0;a<10;a++)
{
xvelocity--;
pause(1 second); // lol
}
I need some type of pause command or else my char goes from xvelocity=10 to 0 instantly. Anyone know of such a command?