Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UAbilityAsync_WaitGameplayTagQue-
Description
Wait until the given gameplay tag query has become true or false, based on TriggerCondition, looking at the target actors ASC. 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. If used in an ability graph, this async action will wait even after activation ends. It's recommended to use WaitGameplayTagQuery instead.
| Name | WaitGameplayTagQueryOnActor |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Async/AbilityAsync_WaitGameplayTagQuery.h |
| Include Path | #include "Abilities/Async/AbilityAsync_WaitGameplayTagQuery.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/Async/AbilityAsync_WaitGameplayTagQuery.cpp |
UFUNCTION (BlueprintCallable, Category="Ability|Tasks",
Meta=(DefaultToSelf="TargetActor", BlueprintInternalUseOnly="TRUE"))
static UAbilityAsync_WaitGameplayTagQuery * WaitGameplayTagQueryOnActor
(
AActor * TargetActor,
const FGameplayTagQuery TagQuery,
const EWaitGameplayTagQueryTriggerCondition TriggerCondition,
const bool bOnlyTriggerOnce
)