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"

Activate AI to follow player

Hi, How do I activate the Ai to follow the player once I have spoken to it?

So far this is what I have for the AI, so when the Ai see the player it starts to follow the player straight away but I want to speak to the AI which then activates and allows the AI to start following the player around. For an example I walk to the player press a button which talks to the AI then after that the AI follows the player

![alt text][1]

Product Version: UE 4.17
Tags:
more ▼

asked Mar 12 '18 at 05:43 PM in Blueprint Scripting

avatar image

EmilyBec
13 1 2 5

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

2 answers: sort voted first

So if you have BT and blackboard add boolean key to your BT task we can call it AllowToFollow and check condition of that key in details of your task. Depends on your logic where you will set key value in AI controller or trough player character. Sounds good?

more ▼

answered Mar 12 '18 at 06:32 PM

avatar image

TVinforest
240 14 9 18

avatar image TVinforest Mar 12 '18 at 06:35 PM

Any way you need to create Boolean variable and use it as gate.

avatar image EmilyBec Mar 12 '18 at 06:43 PM

I created the BT and Blackboard and the Boolean key but I am confused with what to do next?

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

Hi I don't know is your question still relevant but I have made small video for another question about patrol system. Very simple - have a look maybe it will help you. https://www.youtube.com/watch?v=WJKI8qh3NJk

more ▼

answered Mar 14 '18 at 05:43 PM

avatar image

TVinforest
240 14 9 18

(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