UAbilityAsync

AbilityAsync is a base class for ability-specific BlueprintAsyncActions.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GameplayAbilities

Header

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

Include

#include "Abilities/Async/AbilityAsync.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract, Meta=(ExposedAsyncProxy=AsyncAction))
class UAbilityAsync : public UBlueprintAsyncActionBase

Remarks

AbilityAsync is a base class for ability-specific BlueprintAsyncActions. These are similar to ability tasks, but they can be executed from any blueprint like an actor and are not tied to a specific ability lifespan.

Functions

Name Description

Public function Virtual UFunction BlueprintCallable, Category

void

 

EndAction()

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

Public function Virtual Const

UAbilitySyst...

 

GetAbilitySystemComponent()

Returns the ability system component this action is bound to

Public function Virtual

void

 

SetAbilityActor

(
    AActor* InActor
)

Sets the bound component by searching actor, returns true on success

Public function Virtual

void

 

SetAbilitySystemComponent

(
    UAbilitySystemComponent* InAbi...
)

Sets the bound component, returns true on success

Public function Virtual Const

bool

 

ShouldBroadcastDelegates()

This should be called prior to broadcasting delegates back into the event graph, this ensures action is still valid

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