TheSHO1BANG Posted July 16, 2014 Share Posted July 16, 2014 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 More sharing options...
gav07 Posted July 17, 2014 Share Posted July 17, 2014 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 More sharing options...
TheSHO1BANG Posted July 17, 2014 Author Share Posted July 17, 2014 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 More sharing options...
devinpatterson Posted July 17, 2014 Share Posted July 17, 2014 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 More sharing options...
TheSHO1BANG Posted July 17, 2014 Author Share Posted July 17, 2014 Thanks for the advice. Tried this, he does stay there, but the animation still ends. Doesn't look like there's any way to do this, at least none I can think of. Link to comment Share on other sites More sharing options...
Fallout2AM Posted July 18, 2014 Share Posted July 18, 2014 (edited) 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 July 18, 2014 by Fallout2AM Link to comment Share on other sites More sharing options...
TheSHO1BANG Posted July 18, 2014 Author Share Posted July 18, 2014 Will definitely give this a shot, thanks a lot! Link to comment Share on other sites More sharing options...
Recommended Posts