Extended Attribute {{ currentPage ? currentPage.title : "" }}

An Extended Attribute, is a class for creating any extended functionality needed for an attribute. For example, an attribute that regenerates. Extended attributes also helps to manage interactions between Attributes and other parts of the system. For example, you can create a health extended attribute which will check the value of health each time it is modified, here you can add code to activate the death ability when the character’s health is 0 or lower.

Extended Attributes are located in Content > AshenMeleeCombat > Blueprints > AttributesSystem > Objects

Adding Extended Attributes

To create Extended Attributes, you need to first create a child class of the BP_BaseExtendedAttribute class. You can open the child class and implement any functionality needed. To associate an attribute tag with an extended attribute class you need to specify the attribute tag in the details panel of the extended attribute class.

To add an extended attribute class to a characters attributes component you can open the character info data assets such as the PlayerInfo data asset or the EnemyInfo data asset. Here you can add any extended attribute classes that are in use for that character (this can also be done from class defaults for characters that use the component but not the character info data assets).

{{{ content }}}