UAbilityTask_WaitGameplayEffectStackChange::OnDestroy

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UGameplayTask::OnDestroy()

UAbilityTask::OnDestroy()

UAbilityTask_WaitGameplayEffectStackChange::OnDestroy()

References

Module

GameplayAbilities

Header

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

Include

#include "Abilities/Tasks/AbilityTask_WaitGameplayEffectStackChange.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/Tasks/AbilityTask_WaitGameplayEffectStackChange.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