CameraChick

[SOLVED] Stuck Animation

6 posts in this topic

Posted (edited)

If I use the admin console to make my character perform an animation, and that animation just LOOPS infinitely, how can I stop it? Is there an animation that will reset the character?

Edited by CameraChick

Share this post


Link to post
Share on other sites
Advertisement

Posted (edited)

While testing an action loop I noticed when the Medic action was completed, unarmed players would get stuck. I fixed this by running 

player switchAction "StandUp";

after the loop.   Should work in the admin console as well.

Edited by oSoDirty

Share this post


Link to post
Share on other sites
1 hour ago, oSoDirty said:

While testing an action loop I noticed when the Medic action was completed, unarmed players would get stuck. I fixed this by running 


player switchAction "StandUp";

after the loop.   Should work in the admin console as well.

Just tried this and didn't work for me. I am using:
player playActionNow "GestureAgonyCargo"; (which is an endless loop)

And no animation will stop it. 

Share this post


Link to post
Share on other sites

Since you are using a gesture animation you need something that interrupt that specific loop, do

player playActionNow "GestureUp";

You can you use most of the Gesture* animations to stop it, you just need to find the one you want. 

You'll find all here https://community.bistudio.com/wiki/playAction/actions

1 person likes this

Share this post


Link to post
Share on other sites
On 4/15/2016 at 4:30 AM, Janski said:

Since you are using a gesture animation you need something that interrupt that specific loop, do


player playActionNow "GestureUp";

 

That's it!!! Solved!  Thanks!

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.