How To Make The FPS Weapon Shoot Like Auto Mode
**Hello xD , Hope Your XMAS Was Great. So im with this one problem i thought it would be ez but it dosent looks like it now xD, So in the fps project default unreal has provided us you have the crosshair wrong( i dont know why(its not centered)) and the weapon only shoots at semi(when you press it shoots a projectile at once) what im here today begging guys is a tip/help on how to make a full auto system to shote automatic(shoot nonstop when pressed) i try but i dont seem to get it right well hope you can xD
Bye Thx For Reading and have a nice week xD
PS: SORRY FOR MY ENGLISH IT SUCKS
asked Dec 28 '16 at 06:34 PM in Using UE4
You just need to make a timer that calls the "firing" event while it is active, and a way to activate/deactivate it.
First, add a Custom Event that ties into the firing event the same as if you pressed for a single fire.
Then edit Project Settings and add input key(s) for causing the Auto-Fire to happen. I just called it Fire-Auto in this example.
When the key is pressed, Unpause the timer that causes the firing to repeat (or create the timer if it does not exist [is not valid]) .. and Pause it when the key is released.
This is the most basic method- you would probably want to add a bit, like regulating how often it was used, counting shots and depleting ammo, and so forth.
Follow this question
Once you sign in you will be able to subscribe for any updates here