1. Home
  2. Docs
  3. Starter Guides
  4. Damage Resource and Stat System
  5. Apply Damage

Apply Damage

This section describes how the DRS system handles damage.

I use the project files from the “Integrate in new project” section.

Damage Nodes

You can use all of the default damage nodes from the unreal engine. All damage will be catched and processed by the damage component as long as the damage is using a subclass of DT_Base (See “Create Damage Type”).

Damage Example

This is a simple shoot function that will apply 10 fire damage to all hits.

You can use these two functions to determine the damage value.
“GetDamageValue” will return the current damage value for the selected damage type.
“GetDamageValueAverageFromClass” will return the current average damage value for all damage types that this class is using.

How can we help?