UAbilityTask_WaitGameplayEffectRemoved::OnDestroy

End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending.

Windows
MacOS
Linux

Override Hierarchy

UGameplayTask::OnDestroy()

UAbilityTask::OnDestroy()

UAbilityTask_WaitGameplayEffectRemoved::OnDestroy()

References

Module

GameplayAbilities

Header

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

Include

#include "Abilities/Tasks/AbilityTask_WaitGameplayEffectRemoved.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/Tasks/AbilityTask_WaitGameplayEffectRemoved.cpp

Syntax

virtual void OnDestroy
(
    bool bInOwnerFinished
)

Remarks

End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending. IMPORTANT! Do NOT call directly! Call EndTask() or TaskOwnerEnded() IMPORTANT! When overriding this function make sure to call Super::OnDestroy(bOwnerFinished) as the last thing, since the function internally marks the task as "Pending Kill", and this may interfere with internal BP mechanics

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