SeinARTS Tag Library
Class · USeinTagBPFL : UBlueprintFunctionLibrary
#include "Lib/SeinTagBPFL.h"
deterministic: safe in simulation code
Blueprint nodes for the tags on a simulation entity: test them, edit the entity’s base tags, or grant tags that are counted and released one at a time.
Blueprint nodes
Section titled “Blueprint nodes”Has Tag
Section titled “Has Tag”Whether the entity has this tag or a child tag.
static bool SeinHasTag(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, FGameplayTag Tag);Has Any Tag
Section titled “Has Any Tag”True when the entity has at least one of Tags, or a child of one. An empty list returns false.
static bool SeinHasAnyTag(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, FGameplayTagContainer Tags);Has All Tags
Section titled “Has All Tags”True when the entity has every tag in Tags, or a child of each. An empty list returns true.
static bool SeinHasAllTags(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, FGameplayTagContainer Tags);Add Base Tag
Section titled “Add Base Tag”Adds Tag to the entity’s base tags, the tags it is authored with, and grants it. Returns false if the tag is already a base tag or the entity is not valid. Use Grant Tag for a temporary tag that should not join the base set.
static bool SeinAddBaseTag(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, FGameplayTag Tag);Remove Base Tag
Section titled “Remove Base Tag”Removes Tag from the entity’s base tags. Returns false if it was not a base tag. If another source also granted the tag, the entity keeps it.
static bool SeinRemoveBaseTag(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, FGameplayTag Tag);Replace Base Tags
Section titled “Replace Base Tags”Sets the entity’s base tags to exactly this list: base tags not in it are removed and new ones are added. Tags granted by other sources are not touched.
static void SeinReplaceBaseTags(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, FGameplayTagContainer NewBaseTags);Grant Tag
Section titled “Grant Tag”Adds one count of Tag to the entity without changing its base tags. The entity keeps the tag until every grant has been released with Ungrant Tag. Use it for tags that an ability, effect or component applies temporarily.
static void SeinGrantTag(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, FGameplayTag Tag);Ungrant Tag
Section titled “Ungrant Tag”Release one matching grant previously acquired by this logic. This does not identify a source; an unmatched release can consume another source’s grant.
static void SeinUngrantTag(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, FGameplayTag Tag);