FConditionalGameplayEffect

Struct for gameplay effects that apply only if another gameplay effect (or execution) was successfully applied.

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffect.h"

Syntax

USTRUCT(BlueprintType)
struct FConditionalGameplayEffect

Remarks

Struct for gameplay effects that apply only if another gameplay effect (or execution) was successfully applied.

Variables

Name Description

Public variable UProperty Category, EditDefaultsOnly BlueprintReadOnly

TSubclassOf< UG...

 

EffectClass

Gameplay effect that will be applied to the target

Public variable UProperty Category, EditDefaultsOnly BlueprintReadOnly

FGameplayTagCon...

 

RequiredSourceTags

Tags that the source must have for this GE to apply

Functions

Name Description

Public function Const

bool

 

CanApply

(
    const FGameplayTagContainer& Sourc...,
    float SourceLevel
)

Public function Const

FGameplayEff...

 

CreateSpec

(
    FGameplayEffectContextHandle Effect...,
    float SourceLevel
)