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"

Does each AI controller have its own instance of a brain component?

Hi all,

I'm working with the FAIMessage and FAIMessageObserver systems within the AI module and I'm trying to figure out how they can be utilized. I got the messaging to work within an Actor Component that I made. But when I register an observer and send a message, the messages are only being received from the component sending them. I know the brain component handles the messaging within the AI module. I thought that all AI shared a brain component, but now I'm thinking that all the AI have their own instance of a brain component. Is this correct? Is the AI messaging system meant to let AI talk to each other or let a specific AI's components more easily talk among themselves? Am I using the the AI messaging system correctly or did I mess up?

This is all being done in C++, any help/insight would be appreciated!

Product Version: UE 4.20
Tags:
more ▼

asked Dec 05 '18 at 04:10 PM in Using UE4

avatar image

LDOGLONDON
105 5 7 8

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

1 answer: sort voted first

Yeah, I'm pretty sure. The BrainComponent is the base class to the behavior tree's. And I believe that each AI gets its own instance of a behavior tree. If I'm wrong, please feel free to correct me

more ▼

answered Jan 24 '19 at 11:13 PM

avatar image

LDOGLONDON
105 5 7 8

(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