UGameplayAbility::EndTaskByInstanceName

Add any task with this instance name to a list to be ended (not canceled) next frame.

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.cpp

Syntax

UFUNCTION(BlueprintCallable, Category=Ability)
void EndTaskByInstanceName
(
    FName InstanceName
)

Remarks

Add any task with this instance name to a list to be ended (not canceled) next frame. See also CancelTaskByInstanceName.