Global Function References
These functions are designed to help you easily retrieve the information you need from outside any of the classes. For example, you can use them to query specific types, such as actions, if you need to access a default action or similar functionality.
Functions
GetUltimateBuildingDeveloperSettings()
: Returns theUUBF_DeveloperSettings
for the Ultimate Building System.GetSocketName()
: Returns the default socket name for the system.QueryFirstBuildableActionByTag()
: Retrieves the first buildable action that matches the specifiedTagQuery
.QueryBuildableActionsByTag()
: Finds and returns all buildable actions that match the specifiedTagQuery
.QueryFirstBuildableByTag()
: Retrieves the first buildable that matches theTagQuery
from a list of buildables.QueryBuildablesByTag()
: Finds and returns all buildables that match theTagQuery
from a list of buildables.QueryFirstBuildableSocketByTag()
: Retrieves the first buildable socket that matches theTagQuery
for a given buildable.QueryBuildableSocketsByTag()
: Finds and returns all buildable sockets that match theTagQuery
for a given buildable.QueryFirstBuildableDefinitionByTag()
: Retrieves the first buildable definition that matches theTagQuery
from a list of buildable definitions.QueryBuildableDefinitionsByTag()
: Finds and returns all buildable definitions that match theTagQuery
from a list of buildable definitions.
Query Example
Using a query function is pretty simple. The illustration below shows how you can get the first found attachable on the this
buildable with the foundation type tag.

Warning: Tag Qualifiers added to a buildable definition will add extra tags to buildables if they pass their qualification condition. This means you might get Buildables which shares the same tag type, such as a pillar that has a Foundation Tag Qualifier Condition might appear on a Structure.Type.Foundation
Query Buildable Search as it would qualify as a foundation if its placed on a foundation on in the ground.
Last updated