Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UAbilityTask_WaitGameplayTagQuer-
Description
Wait until the given gameplay tag query has become true or false, based on TriggerCondition. By default this will look at the owner of this ability. OptionalExternalTarget can be set to make this look at another actor's tags for changes. If the the tag query already satisfies the TriggerCondition when this task is started, it will immediately broadcast the Triggered event. It will keep listening as long as bOnlyTriggerOnce = false.
| Name | WaitGameplayTagQuery |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h |
| Include Path | #include "Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/Tasks/AbilityTask_WaitGameplayTagQuery.cpp |
UFUNCTION (BlueprintCallable, Category="Ability|Tasks",
Meta=(HidePin="OwningAbility", DefaultToSelf="OwningAbility", BlueprintInternalUseOnly="TRUE"))
static UAbilityTask_WaitGameplayTagQuery * WaitGameplayTagQuery
(
UGameplayAbility * OwningAbility,
const FGameplayTagQuery TagQuery,
const AActor * InOptionalExternalTarget,
const EWaitGameplayTagQueryTriggerCondition TriggerCondition,
const bool bOnlyTriggerOnce
)