FGameplayTag::RequestGameplayTag

Gets the [FGameplayTag](API\Runtime\GameplayTags\FGameplayTag) that corresponds to the TagName

Windows
MacOS
Linux

References

Module

GameplayTags

Header

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

Include

#include "GameplayTagContainer.h"

Source

/Engine/Source/Runtime/GameplayTags/Private/GameplayTagContainer.cpp

Syntax

static FGameplayTag RequestGameplayTag
(
    const FName & TagName,
    bool ErrorIfNotFound
)

Remarks

Gets the FGameplayTag that corresponds to the TagName

Returns

Will return the corresponding FGameplayTag or an empty one if not found.

Parameters

Parameter

Description

TagName

The Name of the tag to search for

ErrorIfNotfound

ensure() that tag exists.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss