Description
Included is a generic resource ActorComponent that can be used for a variety of resources such as stamina, mana, or health. From this a HealthResource that automatically takes in the engine Apply Damage functions is included. It allows a variety of modifications during runtime that can be combined or individually removed. These modifications include:
Weak to all Radial Damage
Immunity to any long range damage
Resistant to various DamageTypes
An interface that can be added to a DamageType that allows custom modifications
Also included, is a ready-made HealthResource that automatically adds UI elements to the player's screen or in the world. Just add it to an Actor Blueprint and press play. By default a health bar will appear on the player's screen and above all other Actors using this. How these are shown can be modified in the details panel. HealthResourceWithUI is not very modifiable, as it was created as a quick prototyping tool.
Included formats
- versions