UAttributeSet::PreGameplayEffectExecute

Called just before modifying the value of an attribute.

Windows
MacOS
Linux

Override Hierarchy

UAttributeSet::PreGameplayEffectExecute()

UAbilitySystemTestAttributeSet::PreGameplayEffectExecute()

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AttributeSet.h

Include

#include "AttributeSet.h"

Syntax

virtual bool PreGameplayEffectExecute
(
    struct FGameplayEffectModCallbackData & Data
)

Remarks

Called just before modifying the value of an attribute. AttributeSet can make additional modifications here. Return true to continue, or false to throw out the modification.

this is only called during an 'execute'. E.g., a modification to the 'base value' of an attribute. It is not called during an application of a GameplayEffect, such as a 5 ssecond +10 movement speed buff.

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