Navigation
Unreal Engine C++ API Reference > Plugins > GameplayAbilities > UGameplayEffectExecutionCalculation
References
Module | GameplayAbilities |
Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectExecutionCalculation.h |
Include | #include "GameplayEffectExecutionCalculation.h" |
UFUNCTION (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
Name | Description |
---|---|
ExecutionParams | Parameters for the custom execution calculation |
OutExecutionOutput | [OUT] Output data populated by the execution detailing further behavior or results of the execution |