animpos += 1;
if(animpos > TheNumberOfFrames)
{
animpos = 0;
}
health.animpos++;
if(health.animpos>=3)
{
destroyactor("player");//change anything if needed
}
health.animpos++;
health.animpos+=1;
Users browsing this forum: No registered users and 1 guest