UAbilityAsync_WaitAttributeChanged

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Async/AbilityAsync_WaitAttributeChanged.h

Include

#include "Abilities/Async/AbilityAsync_WaitAttributeChanged.h"

Syntax

UCLASS()
class UAbilityAsync_WaitAttributeChanged : public UAbilityAsync

Variables

Name Description

Protected variable

FGameplayAttrib...

 

Attribute

Public variable UProperty BlueprintAssignable

FAsyncWaitAttri...

 

Changed

Protected variable

FDelegateHandle

 

MyHandle

Protected variable

bool

 

OnlyTriggerOnce

Functions

Name Description

Protected function

void

 

OnAttributeChanged

(
    const FOnAttributeChangeData& Chan...
)

Public function Static UFunction BlueprintCallable, Category, Meta

UAbilityAsyn...

 

WaitForAttributeChanged

(
    AActor* TargetActor,
    FGameplayAttribute Attribute,
    bool OnlyTriggerOnce
)

Overridden from UAbilityAsync

Name Description

Protected function Virtual

void

 

EndAction()

Explicitly end the action, will disable any callbacks and allow action to be destroyed

Overridden from UBlueprintAsyncActionBase

Name Description

Protected function Virtual

void

 

Activate()

Called to trigger the action once the delegates have been bound

Classes