Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UGameplayEffectExecutionCalculat-
Description
- 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.
| Name | Execute |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectExecutionCalculation.h |
| Include Path | #include "GameplayEffectExecutionCalculation.h" |
UFUNCTION (BlueprintNativeEvent, Category="Calculation")
void Execute
(
const FGameplayEffectCustomExecutionParameters & ExecutionParams,
FGameplayEffectCustomExecutionOutput & OutExecutionOutput
) const
Parameters
| Name | Remarks |
|---|---|
| ExecutionParams | Parameters for the custom execution calculation |
| OutExecutionOutput | [OUT] Output data populated by the execution detailing further behavior or results of the execution |