Jump to content
Sign in to follow this  
Nevaeh

Script delay,sync,and activation help

Recommended Posts

This is my very first Arma script so please bear with me.I'm trying to code a suicide script.

I need help causing a gun to shoot for a player during an animation. I also need help figuring out how to disable keyboard and mouse input during the script.

Basically:

When the gun is put up to the players head via animation, I want the gun to automatically shoot. I know this can be achieved using a delay but I don't know the exact code to cause the gun to fire.

Edited by Nevaeh

Share this post


Link to post
Share on other sites

I figured out how to fire the gun, but the problem is the gun won't fire during the animation. As soon as the animation ends, the gun will then fire. Should I stop the animation right before the gun shoots?After the gun shoots I can then script a death animation?

Edited by Nevaeh

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  

×