UGBAAttributeSetBlueprintBase::​

K2_GetAttributeValue#

  • Declared in "Abilities/GBAAttributeSetBlueprintBase.h"
public:
UFUNCTION(
BlueprintPure, Category = "Blueprint Attributes", DisplayName = "GetAttributeValue")
float K2_GetAttributeValue(
FGameplayAttribute Attribute,
bool& bSuccessfullyFoundAttribute
) const

Returns the current (as opposed to base) value of an Attribute.

Parameters#

  • FGameplayAttribute Attribute

    The Gameplay Attribute we want to get the current value

  • bool& bSuccessfullyFoundAttribute

    Return value indicating whether the value was retrieved successfully (false if owning ASC is invalid or if the AttributeSet the input Attribute belong to is not granted)

Return value#

float

Current Value for the Gameplay Attribute