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 can I possess *Multiple* AI at once?

If I leave "Auto Possess AI" to "When placed in world" any and all copies of my character BP placed in the level will move in conjunction with one another, as if they are all possessed at once.

I want to leave "Auto Possess AI" to "Disabled", and then with a mouse click possess one, or more AI if I choose. I can only seem to possess one at a time with the Possess node though. I'll have one AI moving around, and then Ill click on another AI and I lose control of the first and gain control of the second. I want to RETAIN control of the first one and add more onto it, to posses multiple at once like in my first example. The Posses node seems to Automatically unposses the previous AI though?

Any help would be super appreciated!

Product Version: Not Selected
more ▼

asked Feb 03 '19 at 04:31 AM in Blueprint Scripting

avatar image

44 1 6 8

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

1 answer: sort voted first

Since AIController can only possess one pawn at a time, you have to spawn an AIController using Spawn Actor of Class and then use its Possess node to posses the new pawn. So if you have 10 pawns, you have to create 10 AIController as well.

more ▼

answered Feb 03 '19 at 04:58 AM

avatar image

1.2k 8 4 8

avatar image AXlOM Feb 03 '19 at 05:05 AM

Ahh, I feared that might be the case. Dang I'm making an RTS game and wanted to make it to where I could potentially have 100 units selected at Max.

What would creating 100 AI controllers do? How taxing would something like that be? Realistically how many do you think would be too many?

Thanks again for your time! I'm new to AI so your helping me a lot!

(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