How do I get an AI to move after spawning them?

I understand the issue I am having but can not find a solution… I have used ‘spawn AI from class’ and have my AI spawning exactly how I expect. The issue is they do not follow the player character once the enemies are spawned… if I place them manually they do.

This is apparently caused because when you spawn the AI from class it does not have the AI controller attached to it… to solve this I have tried to add a ‘spawn default controller’ and link it with the return value of the ‘spawn AI from class’ node.

Here is my issue… I am spawning more than one enemy. So the first enemy that spawns works fine, but all of the others just stand there and do not chase the player… I do not know exactly why only one AI gets the controller so I will attach a screenshot and hope there is someone that can help.

(I am new to UE4)

Thanks.

Try changing the Auto Possess AI option in the (self) object of your AI blueprint to Placed in World or Spawned if you haven’t

Thank you so much. That has fixed the issue :smiley:

Can you mark his answer as solved please :slight_smile:

Done, thanks for the help. I have just posted another question about a different issue I am having within blueprint. If you get a chance to check it out I would appreciate it… Thanks again :smiley:

Thanks worked for me!
I wanted to spawn a Tank that had AI for path finding, and switching to “Auto Posses AI” to “Spawned” helped me in setting a variable Vector on it’s Blackboard so it knows where to go.