unreal.GameplayEffectStackingExpirationPolicy
¶
- class unreal.GameplayEffectStackingExpirationPolicy¶
Bases:
EnumBase
Enumeration of policies for dealing gameplay effect stacks that expire (in duration based effects).
C++ Source:
Plugin: GameplayAbilities
Module: GameplayAbilities
File: GameplayEffect.h
- CLEAR_ENTIRE_STACK: GameplayEffectStackingExpirationPolicy¶
The entire stack is cleared when the active gameplay effect expires
- Type:
0
- REFRESH_DURATION: GameplayEffectStackingExpirationPolicy¶
The duration of the gameplay effect is refreshed. This essentially makes the effect infinite in duration. This can be used to manually handle stack decrements via OnStackCountChange callback
- Type:
2
- REMOVE_SINGLE_STACK_AND_REFRESH_DURATION: GameplayEffectStackingExpirationPolicy¶
The current stack count will be decremented by 1 and the duration refreshed. The GE is not “reapplied”, just continues to exist with one less stacks.
- Type:
1