Hello everyone! I am having trouble apply damage to my AI controller. Every time I check if damage is received nothing happens even in the AI blueprint. Is there something I am missing?
Hi, you apply the damage to the actor that was hit by the sphere trace. That won’t be the controller but the controlled pawn. So you would put the EventAnyDamage into the pawn instead of the controller.
Of course you could also try to get the controller from the actor that was hit by the sphere trace and apply damage to that (I currently don’t know whether the AI controller is damagable by default or whether you need to tick some checkbox there). But then the health is something that I would rather associate with the pawn and not the controller.
1 Like
Thank you! Everything works!