Native method
UGBAAttributeSetBlueprintBase::
K2_GetAttributeValue#
public:
float
K2_GetAttributeValue(
)
const
UFUNCTION(
BlueprintPure, Category = "Blueprint Attributes", DisplayName = "GetAttributeValue")
FGameplayAttribute Attribute,
bool& bSuccessfullyFoundAttribute
bool& bSuccessfullyFoundAttribute
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#
floatCurrent Value for the Gameplay Attribute