Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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


Product Version: UE 4.14
more ▼

asked Dec 28 '16 at 06:34 PM in Using UE4

avatar image

3 2 6 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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. fire once

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.

Autofire Handling

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.

more ▼

answered Dec 28 '16 at 07:13 PM

avatar image

766 22 7 36

avatar image Roberte5466 Dec 28 '16 at 08:55 PM

THX alot thank you so much , but this isnt actually what i want this was my mistake i actually wanted this in c++ code xD im so sorry but blueprints work too just fine but if i can i want to do everythin in c++ xD THX and have a good week

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question