FGameplayTagContainer::MatchesAny

Checks if this container matches ANY of the tags in the specified container.

Windows
MacOS
Linux

Deprecated

  • Deprecated in favor of HasAny

References

Module

GameplayTags

Header

/Engine/Source/Runtime/GameplayTags/Classes/GameplayTagContainer.h

Include

#include "GameplayTagContainer.h"

Syntax

bool MatchesAny
(
    const FGameplayTagContainer & Other,
    bool bCountEmptyAsMatch
) const

Remarks

Checks if this container matches ANY of the tags in the specified container. Performs matching by expanding this container out to include its parent tags.

Returns

True if this container has ANY the tags of the passed in container

Parameters

Parameter

Description

Other

Container we are checking against

bCountEmptyAsMatch

If true, the parameter tag container will count as matching even if it's empty

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback