Tag Qualifier Conditions
Overview of Tag Qualifier Conditions
Initialization
Tag Management
Buildable Reference
Tag Qualification
Last updated
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.
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.
AddTags()
Adds the tags specified in the FGameplayTagContainer's TagsToAdd property.
RemoveTags()
Removes the tags specified in the TagsToAdd property.
GetOwningBuildable()
Returns the buildable that the tag qualifier is associated with, providing a reference to the owning buildable.
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