UAbilitySystemBlueprintLibrary::AddLinkedGameplayEffect

Adds LinkedGameplayEffect to SpecHandles.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "AbilitySystemBlueprintLibrary.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Ability|GameplayEffect")
static FGameplayEffectSpecHandle AddLinkedGameplayEffect
(
    FGameplayEffectSpecHandle SpecHandle,
    TSubclassOf< UGameplayEffect > LinkedGameplayEffect
)

Remarks

Adds LinkedGameplayEffect to SpecHandles. LinkedGameplayEffectSpec will be applied when/if SpecHandle is applied successfully. This will initialize the LinkedGameplayEffect's Spec for you. Returns to NEW linked spec in case you want to add more to it.

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