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"

about the shooter game sample

hey guys, i have two questions: 1 how can i play animations in the weapon meshes when shooting and reloading?? 2 how can i have the bool reloading return of the weapons, becuase in game/weapons i can find the 'is firing', how can i return the 'is reloading' too??

if you could answer at least one of them i would thanks a lot

Product Version: UE 4.10
more ▼

asked Mar 23 '16 at 10:01 PM in Blueprint Scripting

avatar image

38 29 17 22

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

1 answer: sort voted first

hello name in the shooter game example there is no reload animations and you can access the shooting animation from the animation blueprint..... im guessing your relatively new to unreal (if not just say and i will edit this post) i suggest you follow some tutorials that explain the features of the engine. as the animation blueprint is what we use to group and activate animations

more ▼

answered Mar 23 '16 at 10:17 PM

avatar image

twenty one
70 5 9 16

avatar image No_Nam4 Mar 24 '16 at 01:03 PM

i think you don't understand my question :/ when i'm firing in the game i want to the weapon mesh play a fire animation, and when i'm reloading i want the weapon mesh to do another animation, but i don't know how to have a return like the "is firing" to manage these animationsalt text

avatar image Soumik_25 Dec 09 '17 at 02:46 PM

You should try this, I think...............

UFUNCTION(BlueprintCallable) bool IsReloading() const;

(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