UAbilitySystemComponent::BP_ApplyGameplayEffectToSelf

Apply a gameplay effect to self

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h

Include

#include "AbilitySystemComponent.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=GameplayEffects,
          Meta=(DisplayName="ApplyGameplayEffectToSelf", ScriptName="ApplyGameplayEffectToSelf"))
FActiveGameplayEffectHandle BP_ApplyGameplayEffectToSelf
(
    TSubclassOf< UGameplayEffect > GameplayEffectClass,
    float Level,
    FGameplayEffectContextHandle EffectContext
)

Remarks

Apply a gameplay effect to self

Helper function since we can't have default/optional values for FModifierQualifier in K2 function

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