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"

Is there a way to tell if an Animation Slot is playing any animation at all?

Hi there,

I'm wondering if there's an elegant way to check if a certain Animation Slot is playing any animation at all? For instance, I have 4 types of Hit animations that I play on a Hit slot. However, I'd have to create a ForEach loop to check if any of them are being played.

Would it be possible to just leave the input of this function blank, and if it is, then check if it's ANY animation playing on the Slot? This would be especially useful for me since I have a ton of animations for combat and abilities I play on an UpperBody slot.

alt text

Product Version: UE 4.8
Tags:
capture.png (50.6 kB)
more ▼

asked Aug 19 '15 at 04:03 AM in Blueprint Scripting

avatar image

LordMorin
127 4 12 20

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

1 answer: sort voted first

I just very quickly did the same thing in the event graph of my main character's anim BP for a similar** situation and never see the value returning true, regardless if the slot is playing or not. This was the case even when I explicitly referenced the character's anim instance (shouldn't need to in the anim bp...?), and the montage that I used to check it.

I realize this is somewhat dated now, but what ever came of it?

**I believe, though without more details on where you're using this, I can't say for sure

more ▼

answered Feb 03 '16 at 12:31 PM

avatar image

KingCole32
180 9 9 12

(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