EGameplayEffectGrantedAbilityRemovePolicy

Describes what happens when a GameplayEffect, that is granting an active ability, is removed from its owner.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayAbilitySpec.h

Include

#include "GameplayAbilitySpec.h"

Syntax

enum EGameplayEffectGrantedAbilityRemovePolicy
{
    CancelAbilityImmediately,
    RemoveAbilityOnEnd,
    DoNothing,
}

Values

Name

Description

CancelAbilityImmediately

Active abilities are immediately canceled and the ability is removed.

RemoveAbilityOnEnd

Active abilities are allowed to finish, and then removed.

DoNothing

Granted abilities are left lone when the granting GameplayEffect is removed.

Remarks

Describes what happens when a GameplayEffect, that is granting an active ability, is removed from its owner.

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