How to disable AI?
I have a similar problem to this: https://forums.unrealengine.com/showthread.php?46592-Deactivate-destroy-AI-without-destroying-pawn
When my monster/ally dies, i set "Simulate Physics" and it simulates ragdoll. It's working, but its AI is still running and it moves around map, just invisible. How to deactivate AI of certain character? I've tried MyAIController ---> Deactivate, but it's not working.
Update: I've thought about setting my monster's custom group enum variable to "Dead" and in AI controller check every tick if controlledMonster.group != "Dead" before the rest of logic. But maybe there is a better way to just disable AI, without checking every frame?
Have you tried to un posses the pawn (simply the node "Un Posses") and then just destroy the Controller?
That should do what you're trying to do.
answered Dec 15 '14 at 07:13 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here