UAbilityTask_WaitGameplayEffectBlockedImmunity

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UGameplayTask

UAbilityTask

UAbilityTask_WaitGameplayEffectBlockedImmunity

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitGameplayEffectBlockedImmunity.h

Include

#include "Abilities/Tasks/AbilityTask_WaitGameplayEffectBlockedImmunity.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UAbilityTask_WaitGameplayEffectBlockedImmunity : public UAbilityTask

Variables

Name Description

Public variable UProperty BlueprintAssignable

FGameplayEffect ...

 

Blocked

Protected variable

FDelegateHandle

 

DelegateHandle

Protected variable UProperty

UAbilitySystemC ...

 

ExternalOwner

Public variable

bool

 

ListenForPeriodicEffects

Protected variable

bool

 

RegisteredCallback

Public variable

FGameplayTagReq ...

 

SourceTagRequirements

Public variable

FGameplayTagReq ...

 

TargetTagRequirements

Public variable

bool

 

TriggerOnce

Protected variable

bool

 

UseExternalOwner

Constructors

Name Description

Public function

UAbilityTask_WaitGameplayEffectBlockedImmunity

(
    const FObjectInitializer & ObjectIn...
)

Functions

Name Description

Protected function

UAbilitySyst ...

 

GetASC()

Public function Virtual

void

 

ImmunityCallback

(
    const FGameplayEffectSpec & Blocked...,
    const FActiveGameplayEffect * I...
)

Protected function

void

 

RegisterDelegate()

Protected function

void

 

RemoveDelegate()

Public function

void

 

SetExternalActor

(
    AActor * InActor
)

Public function Static UFunction BlueprintCallable, Category, Meta

UAbilityTask ...

 

WaitGameplayEffectBlockedByImmunity

(
    UGameplayAbility * OwningAbilit...,
    FGameplayTagRequirements SourceTagR...,
    FGameplayTagRequirements TargetTagR...,
    AActor * OptionalExternalTarget,
    bool OnlyTriggerOnce
)

Listens for GE immunity.

Overridden from UGameplayTask

Name Description

Public function Virtual

void

 

Activate()

Called to trigger the actual task once the delegates have been set up Note that the default implementation does nothing and you don't have to call it

Protected function Virtual

void

 

OnDestroy

(
    bool bInOwnerFinished
)

End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback