I am trying to have it so once I click on a AI Character they will be destroyed. I am planning on adding different functionality once I get this far (have the player selectable and move where I click next). However, whenever I try to use the method in the image it does not work. It does however work if I create a basic cube using the blueprint actor class instead of character class. Is there a specific setting I need to tic to enable this?
Not sure if the information helps, but The AI Character will be using a behavior tree to walk around in the future, but focus on a specific task (in this case to destroy itself) if clicked. It will not be a RTS however.
Also, the point of using the on click is that I should be able to click on the Character from any distance