UGameplayEffectExecutionCalculation::Execute

Called whenever the owning gameplay effect is executed.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffectExecutionCalculation.h"

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintNativeEvent, Category="Calculation")
void Execute
(
    const FGameplayEffectCustomExecutionParameters & ExecutionParams,
    FGameplayEffectCustomExecutionOutput & OutExecutionOutput
) const

Remarks

Called whenever the owning gameplay effect is executed. Allowed to do essentially whatever is desired, including generating new modifiers to instantly execute as well.

: Native subclasses should override the auto-generated Execute_Implementation function and NOT this one.

Parameters

Parameter

Description

ExecutionParams

Parameters for the custom execution calculation

OutExecutionOutput

[OUT] Output data populated by the execution detailing further behavior or results of the execution

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