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 theFGameplayTagContainer
'sTagsToAdd
property.RemoveTags()
Removes the tags specified in theTagsToAdd
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 returnstrue
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