Tag Qualifier Conditions

Overview of Tag Qualifier Conditions

Tag Qualifier Conditions allow you to add conditional tags to a buildable, enhancing its functionality based on specific criteria. To implement a Tag Qualifier Condition, you need to subclass the TagQualifierCondition class. Below are the main functions and their purposes, organized by category.

Initialization

  • PostInitialize() This function is used to set up events, bindings, or dispatchers for the tag qualifier. It prepares the Tag Qualifier Condition for usage and can also bind events for tag removal.

Tag Management

  • AddTags() Adds the tags specified in the FGameplayTagContainer's TagsToAdd property.

  • RemoveTags() Removes the tags specified in the TagsToAdd property.

Buildable Reference

  • GetOwningBuildable() Returns the buildable that the tag qualifier is associated with, providing a reference to the owning buildable.

Tag Qualification

  • IsTagQualified() This function returns true by default but can be overridden to customize the conditions under which the tag is applied. (Note: This function may be removed in future updates.)

Last updated