1. Home
  2. Foliage Plugin
  3. Bonus Examples
  4. Damage Types

Damage Types

Damage Types can be used to determine a “kind of damage” required to interact with a Foliage, this can for example be an Axe to chop wood or Pickaxe to hit a rock

creating the damage type

Create a new Blueprint class of type “DamageType

Set your newly created Damage Type in the Data table for the Foliage that requires the Damage Type

When applying damage to Foliage, include the Damage Type that you created to be able to harvest that Foliage, if the Damage Type is not correct the user will not be able to interact with the Foliage