x

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 shoot action as a function

I'm asking this because I wanted to see if its possible, can you make the shoot action or "InputAction Shoot" into a function that you can use with a reload system? I'm using the FPS Example that Epic made so if anybody knows please tell me how. If there isn't please let me know, but it would be great if there is a way.

Product Version: UE 4.9
Tags:
more ▼

asked Sep 28 '15 at 05:16 PM in Blueprint Scripting

avatar image

Oldsiren
161 24 25 31

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

1 answer: sort voted first

Nevermind I figured it out after banging my head against the wall, for anybody who is starting out. You can't but you can grab everything except the actual "InputAction Shoot" and create a new function and place it there and for a reload system just set Is Reloading to true and add the delay after it. Then at the shoot event, branch and is reloading is the condition and put shoot gun(function) as false.

Images for example below

part1.png (187.6 kB)
part2.png (52.0 kB)
more ▼

answered Sep 28 '15 at 05:46 PM

avatar image

Oldsiren
161 24 25 31

(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