Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/Abilities > API/Plugins/GameplayAbilities/Abilities/Tasks
Inheritance Hierarchy
- UObject
- IGameplayTaskOwnerInterface
- UGameplayTask
- UAbilityTask
- UAbilityTask_WaitGameplayEffectStackChange
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitGameplayEffectStackChange.h |
| Include | #include "Abilities/Tasks/AbilityTask_WaitGameplayEffectStackChange.h" |
Syntax
UCLASS ()
class UAbilityTask_WaitGameplayEffectStackChange : public UAbilityTask
Remarks
Waits for the actor to activate another ability
Variables
| Type | Name | Description | |
|---|---|---|---|
| FActiveGameplayEffectHandle | Handle | ||
| FWaitGameplayEffectStackChangeDelegate | InvalidHandle | ||
| FWaitGameplayEffectStackChangeDelegate | OnChange | ||
| FDelegateHandle | OnGameplayEffectStackChangeDelegateHandle | ||
| bool | Registered |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAbilityTask_WaitGameplayEffectStackChange
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnGameplayEffectStackChange
(
FActiveGameplayEffectHandle Handle, |
||
| UAbilityTask_WaitGameplayEffectStackChange * | WaitForGameplayEffectStackChange
(
UGameplayAbility* OwningAbility, |
Wait until the specified gameplay effect is removed. |
Overridden from UGameplayTask
| Type | Name | Description | |
|---|---|---|---|
| void | Activate () |
Called to trigger the actual task once the delegates have been set up Note that the default implementation does nothing and you don't have to call it | |
| void | OnDestroy
(
bool AbilityIsEnding |
End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending. |