UGameplayAbility::DoesAbilitySatisfyTagRequirements

Returns true if none of the ability's tags are blocked and if it doesn't have a "Blocking" tag and has all "Required" tags.

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.cpp

Syntax

virtual bool DoesAbilitySatisfyTagRequirements
(
    const UAbilitySystemComponent & AbilitySystemComponent,
    const FGameplayTagContainer * SourceTags,
    const FGameplayTagContainer * TargetTags,
    OUTFGameplayTagContainer * OptionalRelevantTags
) const

Remarks

Returns true if none of the ability's tags are blocked and if it doesn't have a "Blocking" tag and has all "Required" tags.