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 check when a character animation stay's the same? (AKA When a character is AFK)

Hi

So I'm new to Unreal Engine and I'm wondering if there's a way to do this? In the blueprints can I check if the character animation stays the same and then, for example, display a message? I know how to print a message but just not how to check whether the character is idle (and I thought checking the idle animation would work to show if a character is AFK...). I'm using the preset 2D scrollable scene...

Thank you in advance!

Product Version: UE 4.18
Tags:
more ▼

asked May 04 '18 at 06:13 PM in Blueprint Scripting

avatar image

MikeFParkin
1 2 4

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

1 answer: sort voted first

If you check the third person character's animation blueprint, you will find that it has the variable Speed, that indicates the character's speed. If it's 0, the character is idle ;)

alt text

help.png (575.4 kB)
more ▼

answered May 04 '18 at 06:18 PM

avatar image

goncasmage
897 12 14 25

avatar image MikeFParkin May 04 '18 at 06:37 PM

Can you go and then print a message in there directly then?

avatar image MikeFParkin May 04 '18 at 06:43 PM

Also, how do you do this without the animation blueprint but instead the character blueprint?

(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