unreal.GameplayAttributeData

class unreal.GameplayAttributeData(base_value: float = 0.0, current_value: float = 0.0)

Bases: StructBase

Place in an AttributeSet to create an attribute that can be accesed using FGameplayAttribute. It is strongly encouraged to use this instead of raw float attributes

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: AttributeSet.h

Editor Properties: (see get_editor_property/set_editor_property)

  • base_value (float): [Read-Write]

  • current_value (float): [Read-Write]

property base_value: float

[Read-Only]

Type:

(float)

property current_value: float

[Read-Only]

Type:

(float)