Jump to content

Making an idle animation last for a specific amount of time?


TheSHO1BANG

Recommended Posts

Hey everyone. I'm trying to script a specific scene, and I'm wondering if I can make a specific idle animation last longer than it usually does, or maybe for a specific amount of seconds?

This is the command. A character get shot by someone, and he falls to the ground.

 

CharacterREF.playidle MTHitLegRightCForce

 

The way it goes, he does fall down when I want him to, but once he does he immediately gets up again. Any way to make this character stay down for some time?

 

 

Link to comment
Share on other sites

I don't know anything about animations really, just trying to help. could you replace that animation with a new animation that does the same fall thing --- just stay on the ground longer?

Link to comment
Share on other sites

Hey, thanks for replying. Have tried some similar ones, they all end once he falls down. What I guess I could try is having his leg crippled, but I'd still prefer if the animation could somehow be 'extended'.

Link to comment
Share on other sites

Hey, thanks for replying. Have tried some similar ones, they all end once he falls down. What I guess I could try is having his leg crippled, but I'd still prefer if the animation could somehow be 'extended'.

What about chaining a sit down or lay down pose on to the falling down animation. setRestrained may also keep him/her where you want (with or without the pose).

Link to comment
Share on other sites

You should modify the idle itself, so that it uses the last frames as loop, then setting it on the animation tab flagged as Loop. You can playidle it indefinetely and then when you need to stop it you invoke another playidle with some short reset (even a 0.2 seconds, something very small), or in case you want to play an animation to make it standing up, you put that to reset the previous one. If you have problems send me the file by PM and I give a try.

Edited by Fallout2AM
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...