FConditionalGameplayEffect

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

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffect.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/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
)

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