Skip to content

2. Attribute Components

Marco Silva edited this page Jun 3, 2024 · 3 revisions

What are Attribute Components

Attribute components are an abstraction of the Unreal Engine variable replication system.

Adding Attributes

Attribute Components are Actor components, therefore you can add them to any Actor. However, it's recommended to add a Attribute Map Component to every empty Actor that contains an Attribute Component (these are already added to Actors from the improved gameplay framework). You can add attribute components of several differentes types:

  1. Scalar Attribute (e.g. Stamina, Health, etc...)
  2. Integer Attribute (e.g. Points, Kills, etc...)
  3. Byte Attribute (e.g. Team, State, etc..)
  4. Bool Attribute
  5. Actor Attribute

Behaviour

Clone this wiki locally