Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UGameplayEffectComponent
Description
Called when a Gameplay Effect is executed. GE's can only Execute on ROLE_Authority. GE's only Execute when they're applying an instant effect (otherwise they're added to the ActiveGameplayEffectsContainer). Note: Periodic effects Execute every period (and are also added to ActiveGameplayEffectsContainer). One may think of this as periodically executing an instant effect (and thus can only happen on the server).
Derived Overrides
| Name | OnGameplayEffectExecuted |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectComponent.h |
| Include Path | #include "GameplayEffectComponent.h" |
virtual void OnGameplayEffectExecuted
(
FActiveGameplayEffectsContainer & ActiveGEContainer,
FGameplayEffectSpec & GESpec,
FPredictionKey & PredictionKey
) const