UAbilityTask_WaitAbilityCommit

Waits for the actor to activate another ability

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GameplayAbilities

Header

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

Include

#include "Abilities/Tasks/AbilityTask_WaitAbilityCommit.h"

Syntax

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

Remarks

Waits for the actor to activate another ability

Variables

Name Description

Protected variable

FDelegateHandle

 

OnAbilityCommitDelegateHandle

Public variable UProperty BlueprintAssignable

FWaitAbilityCom...

 

OnCommit

Public variable

FGameplayTagQue...

 

Query

Public variable

bool

 

TriggerOnce

Public variable

FGameplayTag

 

WithoutTag

Public variable

FGameplayTag

 

WithTag

Constructors

Name Description

Public function

UAbilityTask_WaitAbilityCommit

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function UFunction

void

 

OnAbilityCommit

(
    UGameplayAbility* ActivatedAbi...
)

Public function Static UFunction BlueprintCallable, Category, Meta

UAbilityTask...

 

WaitForAbilityCommit

(
    UGameplayAbility* OwningAbilit...,
    FGameplayTag WithTag,
    FGameplayTag WithoutTage,
    bool TriggerOnce
)

Wait until a new ability (of the same or different type) is commited.

Public function Static UFunction BlueprintCallable, Category, Meta

UAbilityTask...

 

WaitForAbilityCommit_Query

(
    UGameplayAbility* OwningAbilit...,
    FGameplayTagQuery Query,
    bool TriggerOnce
)

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.

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