unreal.GameplayAttributeData

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

Bases: unreal.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

[Read-Only] Base Value

Type

(float)

property current_value

[Read-Only] Current Value

Type

(float)