Page 1 of 1

Increasing an actor's animation index

PostPosted: Wed Dec 20, 2006 5:56 am
by y9kdude
is there any way to increase an actor's animation index (animindex)? When I do "animindex++", this does not work for some reason. I believe this is because the actor is not getting redrawn. In any case, TheChangeAnimation function requries the name of the animation, but theoretically speaking, what if I do not know the name of the animation? Is it possible just to increase the animation index without using the ChangeAnimation function?

Thanks,
y9kdude

PostPosted: Wed Dec 20, 2006 11:46 am
by makslane
The animindex variable is read onlly.
You can use the getAnimName function to get the animation name:
http://game-editor.com/docs/script_refe ... etanimname