Jump to content
Sign in to follow this  
santafee

Eventhandler and Animations-Please Help

Recommended Posts

Hey, im actually trying to use more animation to make my missions more cinematic style and im stuck at the eventhandler thing...

If i want to let a Unit perform 2 and more animations after they done the last, what do i exactly do. I tried it with that, but the secound anim dont work:(

Name switchMove "DancingMove1";

Name addEventHandler ["AnimDone", {Name switchMove "DancingMove2"}];

For sure the Animations called here doesnt exits,just for example.

If someone could post me a good example i would be very happy...Thanks!

Share this post


Link to post
Share on other sites

switchmove doesn't trigger an AnimDone-Event

Name switchMove "DancingMove1";
waituntil { animationState name != "DancingMove1" };
Name switchMove "DancingMove2";

... should work, but havent tested it.

Share this post


Link to post
Share on other sites

Thanks for your try, but sadly not working..

Maybe someone can give me an EASY Example how i can Units let execute Animations in a special order.I just want to make short ingame cutscenes with that for my mission. Would be much appreciated..!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×