Get moving state and apply animation [SOLVED]

For questions about using Classic.

Post » Sun Mar 27, 2011 7:30 pm

Hi!

I have some zombies running around my map. That's okay, I put them there. :D

I get the moving state via condition "is moving" (RTS behaviour). I then set animation to "walk". This all works fine, except for they never stop walking. So what I need is a "is not moving" condition or rather a "special condition" that is "not". I tried it this way:

[code:21gge1gc]Zombie is moving -> Set Zombie animation to "walk"
else -> Set Zombie animation to "idle"[/code:21gge1gc]

But that didn't work either. At the beginning of the level however, they are all standing still, even when one of them is starting to move ...

.cap for looking into it yourself is here: http://dl.dropbox.com/u/12049513/ZombiePanic.cap

Best regards,
Noel
B
3
G
2
Posts: 35
Reputation: 770

Post » Sun Mar 27, 2011 7:41 pm

I feel a bit stupid. I didn't see that you can invert conditions. That did the whole trick. Next time I try to search more careful before shouting for help. :?
B
3
G
2
Posts: 35
Reputation: 770


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests