Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UAbilitySystemComponent
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h |
| Include | #include "AbilitySystemComponent.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent.cpp |
UFUNCTION&40;BlueprintPure, Category&61;"Gameplay Attributes"&41;
float GetGameplayAttributeValue
&40;
FGameplayAttribute Attribute,
bool & bFound
&41; const
Remarks
Returns the current value of the given gameplay attribute, or zero if the attribute is not found. NOTE: This doesn't take predicted gameplay effect modifiers into consideration, so the value may not be accurate on clients at all times.
Parameters
| Name | Description |
|---|---|
| Attribute | The gameplay attribute to query |
| bFound | Set to true if the attribute exists in this component |