Nevaeh 10 Posted July 3, 2011 (edited) 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 July 3, 2011 by Nevaeh Share this post Link to post Share on other sites
Nevaeh 10 Posted July 3, 2011 (edited) 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 July 5, 2011 by Nevaeh Share this post Link to post Share on other sites