UGameplayAbility::BP_ApplyGameplayEffectToOwner

Apply Gameplay effects to Self Apply a gameplay effect to the owner of this ability

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.cpp

Syntax

UFUNCTION(BlueprintCallable, Category=Ability, DisplayName="ApplyGameplayEffectToOwner",
          Meta=(ScriptName="ApplyGameplayEffectToOwner"))
FActiveGameplayEffectHandle BP_ApplyGameplayEffectToOwner
(
    TSubclassOf< UGameplayEffect > GameplayEffectClass,
    int32 GameplayEffectLevel,
    int32 Stacks
)

Remarks

Apply Gameplay effects to Self

Apply a gameplay effect to the owner of this ability