Hi everyone,
I just thought I’d like to share what I did to make the mortar take damage in this lecture. I just added a few things to the AutoMortar Blueprint.
I made StartingHealth and CurrentHealth intergers just like in the C++ for the tanks taking damage. On BeginPlay event I set CurrentHealth to StartingHealth (like in the C++) and then wired up the following Blueprint:
I hope this is useful to someone!
-Trevor