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 switch between 'Using Animations' for my AI character

Hi All,

This is my first time using this form. I am fairly new to unreal and I have a follow up question on a live training tutorial called: Getting Started with AI | Live Training | Unreal Engine. Link Here

Everything is working perfectly fine. I some how even to managed to add a new usable object and make the Ai characters interact with it.

My questions is how to switch between 'Using Animations' for my AI characters according to the objects their using because right now the character shakes his hand with other Ai characters but it also shakes his hand with a camp fire to light the fire....

alt text

I already set up a different Anim Montage and I am able to switch between them in the blueprint manually.

I tried to follow the tutorial again but then creating different names and ending up with the same line of nodes starting with "Event Use Object" but then as "Event Use Fire" or "Event Use AICharacter"..... but it al became really confusing.

I hope my question is clear enough and again, Im really new to unreal but so far really amazed!

Thank you! :)

Product Version: UE 4.15
Tags:
more ▼

asked Jun 11 '17 at 03:27 PM in Using UE4

avatar image

joeptruijen
1 1 2

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

1 answer: sort voted first

Hello joeptruijen,

I think instead of use Animation Blueprint usefull then "Play Anim Montage". For more detail look this link.

more ▼

answered Jun 11 '17 at 03:41 PM

avatar image

Sertac Ogan
1.5k 30 11 46

avatar image joeptruijen Jun 11 '17 at 04:02 PM

Hey Sertac Organ,

Thank you for you quick response, the EventGraph of the Animation Blueprint looks like this: alt text

The Idle walk run state like this: alt text

Im sorry for my lack of knowledge but how would I make this work?

avatar image Sertac Ogan Jun 11 '17 at 04:05 PM

Okay. I mean for example create variable and change state when use object, die etc.

alt text

animationbp.png (62.1 kB)
avatar image joeptruijen Jun 11 '17 at 04:36 PM

It just became even more confusing :S im sorry I really would like to use the way they do it in the tutorial, Using BB, BT, AICON and a Interface. but thanks allot for your responds, actually i thought no one would answer <3

avatar image Sertac Ogan Jun 11 '17 at 04:38 PM

You are welcome. I hope helpful Keep up the awesome work! :)

(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