Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
This class defines a node to wait on a gameplay tag query.
| Name | UAbilityTask_WaitGameplayTagQuery |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h |
| Include Path | #include "Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h" |
Syntax
UCLASS (MinimalAPI)
class UAbilityTask_WaitGameplayTagQuery : public UAbilityTask
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGameplayTask → UAbilityTask → UAbilityTask_WaitGameplayTagQuery
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetExternalTarget
(
const AActor* Actor |
Sets the external target that this node whould use for checking tags. | Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h |
Overridden from UGameplayTask
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Activate() |
Activates this AbilityTask. | Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EvaluateTagQuery() |
This will evaluate the TargetTags using the given TagQuery, executing the Trigger delegate if needed. | Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h | |
UAbilitySystemComponent * GetTargetASC() |
This gets the ASC to use to listen to tag changed events. | Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h | |
void UpdateTargetTags
(
const FGameplayTag Tag, |
This will update the tags in the TargetTags container to reflect that tags that are on the target ASC. | Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h |
Overridden from UGameplayTask
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnDestroy
(
bool AbilityIsEnding |
This will handle cleaning up any registered delegates. | Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UAbilityTask_WaitGameplayTagQuery * WaitGameplayTagQuery
(
UGameplayAbility* OwningAbility, |
Wait until the given gameplay tag query has become true or false, based on TriggerCondition. | Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h |
|