Jump to content
Sign in to follow this  
yakavetta

Playing an animation after each shot with bolt-action rifles?

Recommended Posts

I'm trying to get this animation I've got to play after each shot of a bolt action. Currently, when I press "R" to reload, it'll play just fine, but I can't figure out how to make it play automatically after each shot.

Odds are I'm doing it wrong. What I'm doing now is calling the animations under here:

class CfgMovesBasic
{ 
class Default;
};
class CfgMovesMaleSdr : CfgMovesBasic 
{	
};
class cfgmovesjin : CfgMovesMaleSdr

I've created a skeleton class to call for the parts of the model, and I've created the parts of the model as a group within O2.

I just don't know how to make the animations play automatically when each round is fired. Any advice would be greatly appreciated!

Share this post


Link to post
Share on other sites

That will only work for each mission, though, and each soldier the EH is attached to, wont it? What if I want it for the model? I've got animations and everything sorted, I think I'm just coding my config wrong.

---------- Post added at 03:08 AM ---------- Previous post was at 01:58 AM ----------

I think I have an idea on how to go about this now. Right now I have the animation tied to "reloadmagazine." I'm going to try and link it to the trigger pull instead, and see how that plays out.

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  

×