How do I call "Stop Logic" in the AI Controller?

I am attempting to make my AI stop moving/shooting when dead. I looked it up online and apparently using the “Stop Logic” controller is one of the best ways to go about this but for some reason I can’t call it. I have an AI controller named “EnemyController” and I only see it when Context Sensitive is OFF. So I know it’s there I just can’t call it.

What do I have to do in order to call it? To be honest Unreal is still new to me so I’m having a hard time understanding what can/can’t be called in a blueprint. I thought as long as I was in a AIController BP it would be allowed but I guess not?

It’s a function on the BrainComponent. Just use GetBrainComponent and call StopLogic on it. It should be happening automatically though. I’ll have a look at the code and confirm tomorrow-ish.

Cheers,

–mieszko