UAbilitySystemComponent::SetNumericAttributeBase

Sets the base value of an attribute.

Windows
MacOS
Linux

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

Syntax

void SetNumericAttributeBase
(
    const FGameplayAttribute & Attribute,
    float NewBaseValue
)

Remarks

Sets the base value of an attribute. Existing active modifiers are NOT cleared and will act upon the new base value.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss