No need to spawn additional actors (expensive!) or GetActorOfClass
(that’s currently the problem).
- each enemy has a widget component
- when they get hit, their own widget shows their own damage:
The above goes into the Enemy blueprint.
And once you’re ready for something more funky:
1 Like