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 play random multiple idle animations using montage

I have multiple idle animations that I want to randomly play during Idle, or speed = 0. I have seen that you can do this with montages, blueprints and within persona, but because I am still new to UE4, I need a detailed set of steps to follow. I also need a way for the idles to start at random moments in the animation (so that not all of my AI's idle animations start at the same time and it looks like robots).

A related question can be found below, but I have yet to to hear a detailed answer (I deleted my comments so as to not have duplicate questions across the site).

https://answers.unrealengine.com/questions/21439/blend-by-speed-and-multiple-idle-animations.html

I have been trying to figure out this problem for a couple of days now so any help would be greatly appreciative!

Product Version: Not Selected
Tags:
more ▼

asked Nov 19 '14 at 10:21 PM in Using UE4

avatar image

Aquanasia
86 9 12 19

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

2 answers: sort voted first

I setup a blueprint to count idle time by accumulating Delta Time X in the AnimBlueprint event graph anytime when speed is zero. After the idle time reaches a certain number of seconds I set a boolean value that activates a node in the AnimGraph and I reset the idle time to start counting again.

Using this method I've got one additional idle animation playing. It should not be difficult to advance this concept for multiple animations with variations in time and looping.

I made a blog post on this with blueprint images check it out: https://www.rakiz.com/blueprint-for-multiple-idle-animations/

more ▼

answered Jan 06 '15 at 06:02 AM

avatar image

Waves
67 4 7 11

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

Hi there guys, I was also looking for a way to play a second Idle animation after 5 seconds of player inactivity. When I click on the link from the answer, it was no longer active or broken. Thanks!

more ▼

answered Sep 16 '17 at 01:26 AM

avatar image

Master _Gamer
1

(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