Getting Started

Initial Setup

Create a folder called n00dTraitsExample

Create a child of BPC_N00dTraits and move it into n00dTraitsExample

Rename this child component to BPC_Traits

BP_ThirdPersonCharacter

Traits are not limited to the character, you may add this component to any actor to give it a trait

Open BP_ThirdPersonCharacter and add BPC_Traits to the components window

This data table represents the unique traits that this actor has. Create a data table based off FN00dTraits to define a list of traits 

With the component selected, under the Class Defaults, define the traits you want this character to have. 

Call Initialise on EventPossessed

Testing

From the Examples folder in the plugin, drag BP_N00dTraitsPickup into the ThirdPersonMap

Fill out the defaults with the Trait ID and the effects this pickup has. This pickup class is not intended to be used in production but feel free to extend them

When we run over the pickup in PIE, the XP is applied. However we don't see any UI response just yet.

The example character demonstrates how to handle sprint regeneration through a stamina implementation, and damage handling for health. You can use n00dTraits for any trait you'd like!