Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
This class defines an async node to wait on a gameplay tag query.
| Name | UAbilityAsync_WaitGameplayTagQuery |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Async/AbilityAsync_WaitGameplayTagQuery.h |
| Include Path | #include "Abilities/Async/AbilityAsync_WaitGameplayTagQuery.h" |
Syntax
UCLASS (MinimalAPI)
class UAbilityAsync_WaitGameplayTagQuery : public UAbilityAsync
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintAsyncActionBase → UCancellableAsyncAction → UAbilityAsync → UAbilityAsync_WaitGameplayTagQuery
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Triggered | FAsyncWaitGameplayTagQueryDelegate | This delegate will be triggered when the trigger condition has been met. | Abilities/Async/AbilityAsync_WaitGameplayTagQuery.h |
|
Functions
Public
Overridden from UBlueprintAsyncActionBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Activate() |
Activates this AbilityAsync node. | Abilities/Async/AbilityAsync_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/Async/AbilityAsync_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/Async/AbilityAsync_WaitGameplayTagQuery.h |
Overridden from UAbilityAsync
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EndAction() |
Ends this AbilityAsync node, unregistering all tag changed delagates. | Abilities/Async/AbilityAsync_WaitGameplayTagQuery.h |
Overridden from UCancellableAsyncAction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ShouldBroadcastDelegates() |
Returns if this AbilityAsync node should currently broadcast it's delegates. | Abilities/Async/AbilityAsync_WaitGameplayTagQuery.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UAbilityAsync_WaitGameplayTagQuery * WaitGameplayTagQueryOnActor
(
AActor* TargetActor, |
Wait until the given gameplay tag query has become true or false, based on TriggerCondition, looking at the target actors ASC. | Abilities/Async/AbilityAsync_WaitGameplayTagQuery.h |
|