Skip to content

Step 6: Apply Damage & Damage Types

BavGames edited this page Dec 20, 2025 · 3 revisions

Apply Damage & Damage Types

The Damage Indicator system uses a custom damage class called Damage Indicator Type. This class allows you to configure all indicator-related settings in one place. We have prepared this system for you to be flexible and easy to use.

First, right-click inside your Content folder and open the Blueprint Class creation panel.

image

In the opened panel, expand the ALL CLASSES section, search for Damage Indicator Type, select it, and click Select.

image

Now, give your newly created Damage Indicator Type a name and open it. In this example, we name it DT_Damage_Axe.

Open DT_Damage_Axe and navigate to the Damage Indicator section in the Details panel.

image

Damage Indicator Settings

The following settings are available in the Details panel:

  • Indicator Icon The directional icon that will be displayed on the screen.

  • Random Indicator Color Enables random coloring for the indicator. When enabled, a color array becomes available where you can define the possible colors.

  • Indicator Color The color applied to the Indicator Icon. For best results, the base color of the Indicator Icon should be white.

  • Play Indicator Sound Enable this option if you want a sound to play when damage is received.

  • Indicator Sound The sound that will be played when damage is taken (if enabled).


Final Example Configuration

image

Random Color Example Result

image

Applying Damage

Now let’s configure Apply Damage.

If you already have an AI, weapon, or any actor that deals damage to the character, open that actor and locate its Apply Damage logic.

If you don’t have one, create a simple example actor and add a Box Collision component.

image

Navigate to the On Component Begin Overlap event of the Box Collision.

image

Call the Apply Damage function and connect it to the Begin Overlap event.

image

Final Setup Example

image

Now, assign the DT_Damage_Axe Damage Indicator Type we created earlier to the Apply Damage function.

image

Although this documentation section may look long, the actual setup process is very fast and straightforward.

If you have any questions or run into any issues, feel free to contact us — we’ll be happy to help.

Clone this wiki locally