unreal.GameplayEffectGrantedAbilityRemovePolicy

class unreal.GameplayEffectGrantedAbilityRemovePolicy

Bases: unreal.EnumBase

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

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: GameplayAbilitySpec.h

CANCEL_ABILITY_IMMEDIATELY

Active abilities are immediately canceled and the ability is removed.

Type

0

DO_NOTHING

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

Type

2

REMOVE_ABILITY_ON_END

Active abilities are allowed to finish, and then removed.

Type

1