animpos help plz

Non-platform specific questions.

animpos help plz

Postby mrgame » Wed Dec 05, 2007 10:23 pm

ive got this actor and i want when i right click on it the animation goes forward 1 frame.
how?
mrgame
 
Posts: 118
Joined: Sun Oct 21, 2007 8:09 pm
Location: my computer
Score: 3 Give a positive score

Re: animpos help plz

Postby Bee-Ant » Thu Dec 06, 2007 8:11 am

On DrawActor of your actor Change it's AnimationDirection to "Stopped"
And on MouseButtonDown, put this code
Code: Select all
animpos++;
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: animpos help plz

Postby Spidy » Thu Dec 06, 2007 5:38 pm

hmm :? ....nice :D
Image
VOTE FOR MY SIGNATURE PLEASE.......THANK YOU
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Re: animpos help plz

Postby speckford123 » Thu Dec 20, 2007 8:12 pm

Bee-Ant wrote:On DrawActor of your actor Change it's AnimationDirection to "Stopped"


dont you mean on CreateActor? what if he later wants to restart the animation? they both will work but drawactor will keep doing it over and over :P
but yeah for what he wants that will work just fine.
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron