Stepping through Animations

Non-platform specific questions.

Stepping through Animations

Postby EvanBlack » Sat Oct 08, 2011 1:42 am

Ok... Maybe its just me.. But I searched for Animation with the search bar and nothing at all showed up.

How do I step through the animation index?

I have a button, I want the animation to change when the button is down and then change again when it is up. I tried using this.

Code: Select all
ChangeAnimationDirection("Event Actor", FORWARD);
ChangeAnimationDirection("Event Actor", STOPPED);


But the animation doesn't change.
(\__/) ( Soon... The world)
(O.o )< will be mine!____)
(> < )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bunny Overlord 2012!
EvanBlack
 
Posts: 202
Joined: Fri Sep 30, 2011 10:17 am
Score: 19 Give a positive score

Re: Stepping through Animations

Postby Game A Gogo » Sat Oct 08, 2011 2:19 am

Code: Select all
animpos++;
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: Stepping through Animations

Postby EvanBlack » Sat Oct 08, 2011 2:44 am

alright! thanks
(\__/) ( Soon... The world)
(O.o )< will be mine!____)
(> < )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bunny Overlord 2012!
EvanBlack
 
Posts: 202
Joined: Fri Sep 30, 2011 10:17 am
Score: 19 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest