UGameplayAbility::K2_ApplyGameplayEffectSpecToTarget

Apply a previously created gameplay effect spec to a target

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](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=Ability, DisplayName="ApplyGameplayEffectSpecToTarget",
          Meta=(ScriptName="ApplyGameplayEffectSpecToTarget"))
TArray< FActiveGameplayEffectHandle > K2_ApplyGameplayEffectSpecToTarget
(
    const FGameplayEffectSpecHandle EffectSpecHandle,
    FGameplayAbilityTargetDataHandle TargetData
)

Remarks

Apply a previously created gameplay effect spec to a target

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss