Quote:

try to play your animation in a while() loop.

Code:


if(key_space == 1)
{
while(1)
{
wait(1);
soccerplayer.frame += 1;

if(soccerplayer.frame > soccerplayers last frame)
{
break;
}

}

}




I dont know if it helps but your problem sounds strange anyway so give it a try

zwecklos



that won't work with bones animation, you should use ent_animate like that

Code:

if(key_space == 1)
{
soccerplayer.skill1=0;
while(soccerplayer.skill1<100)
{
soccerplayer.skill1 += 1;
ent_animate(soccerplayer,"kick",soccerplayer.skill1,anm_add);
wait(1);
}
}