nframes = number of frames in the current animation
animpos = the position of the current animation
animindex = each animation that an actor has has a unique index assigned to it. ( This way you can tell which animation is currently running. )
Posted: Mon Mar 15, 2004 10:10 am
by ingsan
and with animindex, can u tell an actor(who has 6 animations assigned to it and that its current animation is 1) to go and have another animation (ex animation 2) after a timer ?
Thanx for all pal
Posted: Mon Mar 15, 2004 10:30 am
by jazz_e_bob
Hi ingsan
Animindex can be read but not written.
You use Change Animation along with the anim name to set it.
So:
On Timer Event
if (animindex == 1)
ChangeAnimation("Event Actor", "animation_2", FORWARD);