UAbilitySystemComponent::ApplyGameplayEffectToTarget

This is a helper function used in automated testing, I'm not sure how useful it will be to gamecode or blueprints

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

FActiveGameplayEffectHandle ApplyGameplayEffectToTarget
(
    UGameplayEffect * GameplayEffect,
    UAbilitySystemComponent * Target,
    float Level,
    FGameplayEffectContextHandle Context,
    FPredictionKey PredictionKey
)

Remarks

This is a helper function used in automated testing, I'm not sure how useful it will be to gamecode or blueprints

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