Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/Abilities > API/Plugins/GameplayAbilities/Abilities/Tasks
Inheritance Hierarchy
- UObject
- IGameplayTaskOwnerInterface
- UGameplayTask
- UAbilityTask
- UAbilityTask_WaitGameplayTagCountChanged
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitGameplayTagCountChanged.h |
| Include | #include "Abilities/Tasks/AbilityTask_WaitGameplayTagCountChanged.h" |
Syntax
UCLASS ()
class UAbilityTask_WaitGameplayTagCountChanged : public UAbilityTask
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | GameplayTagCountChangedHandle | ||
| TObjectPtr< UAbilitySystemComponent > | OptionalExternalTarget | ||
| FGameplayTag | Tag | ||
| FWaitGameplayTagCountDelegate | TagCountChanged |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GameplayTagCallback
(
const FGameplayTag Tag, |
||
| UAbilitySystemComponent * | GetTargetASC () |
||
| UAbilityTask_WaitGameplayTagCountChanged * | WaitGameplayTagCountChange
(
UGameplayAbility* OwningAbility, |
Wait until the specified gameplay tag count has changed. |
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 bAbilityIsEnding |
End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending. |