unreal.AbilityAsync

class unreal.AbilityAsync(outer: Object | None = None, name: Name | str = 'None')

Bases: CancellableAsyncAction

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. By default these actions are only kept alive by the blueprint graph that spawns them and will eventually be destroyed if the graph instance is deleted or spawns a replacement. EndAction should be called when a one-time action has succeeded or failed, but for longer-lived actions with multiple triggers it can be called from blueprints.

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: AbilityAsync.h

end_action() None

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