UGameplayAbility::BP_ApplyGameplayEffectToTarget

Apply Gameplay effects to Target Apply a gameplay effect to a Target

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="ApplyGameplayEffectToTarget",
          Meta=(ScriptName="ApplyGameplayEffectToTarget"))
TArray< FActiveGameplayEffectHandle > BP_ApplyGameplayEffectToTarget
(
    FGameplayAbilityTargetDataHandle TargetData,
    TSubclassOf< UGameplayEffect > GameplayEffectClass,
    int32 GameplayEffectLevel,
    int32 Stacks
)

Remarks

Apply Gameplay effects to Target

Apply a gameplay effect to a Target