Download

[GameplayAbilitySystem] Print out the current value of an attribute to UI when it changes

When the base value of an attribute changes, there is UAttributeSet::PreGameplayEffectExecute() and UAttributeSet::PostGameplayEffectExecute() available to e.g. access the value and context (like the TargetActor from the GameplayEffect) for printing it out to UI. Is there something similar available for the current value of an attribute? (e.g. in the aggregator?)

UAttributeSet::PreAttributeChange(), though having the new value, it doesn’t provide any context.