Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FGameplayEffectContextHandle
Description
Sets the instigator and effect causer. Instigator is who owns the ability that spawned this, EffectCauser is the actor that is the physical source of the effect, such as a weapon. They can be the same.
| Name | AddInstigator |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectTypes.h |
| Include Path | #include "GameplayEffectTypes.h" |
void AddInstigator
(
class AActor * InInstigator,
class AActor * InEffectCauser
)