Um... Nframes glitch?
Posted: Sat May 01, 2010 4:19 pm
FIXED:
A save and reload of the ged somehow fixed it :O
Alright so heres the thing, I'm using a scrip where if the tmp variable is equal to the nframes (number of frames in an animation), then animpos will be equal to 0 but for some reason it automatically makes it the last frame... wtf? My code:
EDIT: Somehow, the second "if" statement was causing the tmp variable to fly down wtf?
A save and reload of the ged somehow fixed it :O
Alright so heres the thing, I'm using a scrip where if the tmp variable is equal to the nframes (number of frames in an animation), then animpos will be equal to 0 but for some reason it automatically makes it the last frame... wtf? My code:
- Code: Select all
if (tmp == nframes)
{
animpos = 0;
}
if (tmp == -1)
{
animpos = nframes - 1;
}
EDIT: Somehow, the second "if" statement was causing the tmp variable to fly down wtf?