Shottss
(Shottss)
August 2, 2016, 1:16am
1
Hey folks,
I have an issue with my ai, ive perused the various AI posts here with the same issue and none have a fix.
I have ai spawning inside a spawn volume fine, and also have a nav mesh that all works with P showing the path etc.
However, they don’t move, ive tried simple move to, ai move, move to location, etc.
Any help would be incredible!
P.S if it involves behavior trees, please give me a run down on what i need to do, i’ve tried that route and it didnt work.
1 Like
Sean_L
(Sean_L)
August 3, 2016, 2:45pm
2
Hello,
Go into your AI Pawn class and click the Class Defaults option at the top of the page. Ensure that you have set the AI Controller to the controller that you would like to use, and that the Auto Possess AI option is set to Placed in World or Spawned.
If this does not resolve the issue, please provide screenshots of the blueprints that you are using.
Have a great day
Shottss
(Shottss)
August 7, 2016, 9:57am
3
So so sorry for the delay its been an incredibly hektic week this week with RL dramas.
Anyways I have tried your suggestion and it was already all set that way. but no movement.
I just need it to move once, which is why the BP looks so small. after that i can repeat it simple enough.
let me know
Sean_L
(Sean_L)
August 8, 2016, 12:32pm
4
Do you have a Floating Pawn Movement Component on your AI Pawns?
Also, a good way to debug would be to run a print string off of the On Fail pin to see if it ever is failing.
Finally, ensure that you have set the AI Controller in the Pawn blueprint to the one that you’d like it to use instead of the default.
Shottss
(Shottss)
August 8, 2016, 11:38pm
5
i didnt think a floating pawn movement component was required, but i’ll give it a shot,
I’ve tried the print string route, and it doesn’t fire at all. theres no communication at all to the controller,
and yeah its the one i want it to use
Sean_L
(Sean_L)
August 9, 2016, 1:36pm
6
Since there are a couple of things that could be going wrong in this situation, could you zip up the project, upload it to Dropbox, and PM me a download link on the forums: https://forums.unrealengine.com/member.php?160394-Sean-Flint
This way I can take a closer look at the setup and see what is going wrong.
Thanks!
You should check if your destination is a valid ai location.
And of course as suggested fill in the on success and on fail pins with a print in this condition.