Hello world again! In my game, I have a class “FightingCharacter” that is a common parent class for Player and Enemy, and I want to display information about their level and health by clicking. What I have done:
- I have set up the following blueprint in the class “FightingCharacter”:
-
I show mouse cursor at game loading.
-
I have set “Enable click events” in the Player Controller to true.
-
I have changed “Default click trace channel” at the same place to Camera.
-
I have tried to set the breakpoint on this event. It works even when I click on self, and is filtered only on condition, but when I click on the Enemy, it does not work.
-
I have tried to set up ActorOnReleased event on a simple Actor, and it, suddenly, works!
It seems it does not work only on Enemies. What the problem can be?