Page 1 of 1

Change Animation

PostPosted: Sun Apr 10, 2005 2:42 pm
by xenoruh
When I attempt to change an animation, I am given only one choice for graphic when in fact my game already use 30 different images (animations). How do I get to pick the other hidden images?

PostPosted: Mon Apr 11, 2005 7:56 pm
by makslane
- Use the Change Animation action wo switch animations
- Use the animpos variable to select a frame in current animation

PostPosted: Mon Apr 11, 2005 10:03 pm
by xenoruh
Thanks for the reply,
The 'change animation' action is the one I tried to use, it only gave me one option for an animation change when I want a choice of 30. I have just tried it again and still only one choice (ie. no choice, since the actor already uses that (single file) animation).
Thanks for the animpos tip, I don't need it now but it will come in useful later no doubt.
I know I must be doing something wrong not to be offered a choice of animations, but I can't work out what my error is.

PostPosted: Mon Apr 11, 2005 11:43 pm
by makslane
If you are using the single file option, you must specify the number of horizontal and vertical frames

PostPosted: Tue Apr 12, 2005 6:50 am
by xenoruh
Oh, you have to set each actor with it's own array of unique animations within the 'actor control: animation' area. You can't configure them will nilly.