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"

Flashlights, how do I turn on a flashlight and activate a certain animation?

I got the flashlight part down. Creating and attaching and all that. What eludes me is playing the animation of the character holding the flashlight whenever I push F? How can I have a Flashlight mode with the animation, and disable it whenever I don't have the flashlight?

Product Version: UE 4.15
Tags:
more ▼

asked Apr 21 '17 at 03:19 AM in Using UE4

avatar image

shadowxone
5 1 2 5

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

I'm still fairly new to UE4, so specifics elude me, but these seem like fairly loaded questions. Someone please correct me if I'm wrong, but my first notion would be to have a look at state machines. You can build an animation set in your authoring program of choice (Like Maya) and then import that animation into UE4. Then build a "state" for it and all the blending that comes with it. You can then use blueprints to call these states at the appropriate time, like when the player inputs the character 'f'.

more ▼

answered Apr 21 '17 at 03:37 AM

avatar image

JJChalupnik
26 7 8 11

avatar image shadowxone Apr 21 '17 at 06:40 AM

That sounds exceeding simple, but how to reference the state machines to a key.

(comments are locked)
10|2000 characters needed characters left

I'm not really used to Animations, But you should be able to Connect the Animation to a Key Event. Or more precisarlo to the Execution pin on the end or Start of your flashlight Bluepring. I'm not sure how the Node to Start an Animation is called, But if you Search for Animation you should find something similiar to Animation Start or so. I'll See if i can find it when i get to my Computer.

more ▼

answered Apr 21 '17 at 05:01 PM

avatar image

Lexyth
133 6 9 18

(comments are locked)
10|2000 characters needed characters left
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