The Daily Click ::. Forums ::. Klik Coding Help ::. Animation help.
 

Post Reply  Post Oekaki 
 

Posted By Message

FloydTheBarber



Registered
  16/03/2006
Points
  16
18th March, 2006 at 07:09:50 -

How do you program MMF to play a character's animation at certain times.

Example: I simply just want to have my character's "Stopped" animation playing when the character is not moving.

 
n/a

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
18th March, 2006 at 08:05:43 -

Then you simply have to add a action to the event where you stop your character: change animation sequence to stopped.

That solution may lead to some overrridings from time to time though. Thatīs why i prefer to connect the animations with an alterable value of the character. Like Alt Val A is 0 _ change to stopped ani, Alt Val A is 1 _ change to walk ani, and so on. And control this value instead ...

 
Free graphics,Free Games
http://www.reinerstilesets.de

FloydTheBarber



Registered
  16/03/2006
Points
  16
18th March, 2006 at 08:20:13 -

So here's what I did. "is active stopped?" then under the active guy i said change animation sequence to "stopped". What did I do wrong?

 
n/a

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
18th March, 2006 at 17:46:28 -

Hard to say without seeing the whole code. Maybe there is some overriding by other code snippets.

Thatīs why i said i prefer the value way. Create a counter, and set it always to the Alt Val you use to control the animations. Then you can have a closer look where it refuses to work.

 
Free graphics,Free Games
http://www.reinerstilesets.de
   

Post Reply



 



Advertisement

Worth A Click