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] Base Value

  • current_value (float): [Read-Write] Current Value

property base_value: float

[Read-Only] Base Value

Type:

(float)

property current_value: float

[Read-Only] Current Value

Type:

(float)