I’ll try to better explain the problem. This is the piece of code in question.
This event calls CheckDeath… CheckDeath just checks if Health is lower than zero and then calls Die, which should be implemented in derived classes.
At the moment, Die just print something.
And the result…
That means the function Die from Player is not being accessed, even though Player is derived from Character. If I try to make Die pure virtual, I cannot call it from Character blueprint for some reason.
And that’s it. Am I doing something wrong? Any ideas?