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

Create Resource

Step 1 - Enumeration Entry

Create a new entry in E_Resources for your resource.

Step 2 - Resource Defaults

Add the component to an actor or character and change the resource type in the details panel to the new value.

You can also adjust the initial values and regeneration.

On BeginPlay call “Init Component” from the resource initilize it.

Step 3

You can use the functions in the image to manage the new resource. Its also possible to create gameplay effects with the new resource.

How can we help?