A Health Components for Simple Enemies #
We have redefined a HealthComponent to properly handle events produced by the bot.
Since killing a player is not the same as killing one of the thousands of pawns that we may have.
Now when you kill a bot, the messaged called is
For example, we have added the Bot Eliminated counter to the interface. (Ideal for any score)
We have also exposed the DamageSelfDestruct function to remove any bot by simply accessing the actor and executing FindSimpleLyraHealthComponent and DamageSelfDestruct fuction
For example, make a child of LyraCharacterWithAbilities and try this.
When called all actor they killed using the usual flow of death.