unreal.SmartObjectRequestFilter

class unreal.SmartObjectRequestFilter(user_tags: GameplayTagContainer = Ellipsis, activity_requirements: GameplayTagQuery = [], behavior_definition_classes: None = [])

Bases: StructBase

Struct that can be used to filter results of a smart object request when trying to find or claim a smart object

C++ Source:

  • Plugin: SmartObjects

  • Module: SmartObjectsModule

  • File: SmartObjectSubsystem.h

Editor Properties: (see get_editor_property/set_editor_property)

  • activity_requirements (GameplayTagQuery): [Read-Write] Only return slots whose activity tags are matching this query.

  • behavior_definition_class (type(Class)): [Read-Write] deprecated: Use BehaviorDefinitionClasses instead

  • behavior_definition_classes (Array[type(Class)]): [Read-Write] If set, will filter out any SmartObject that uses different BehaviorDefinition classes.

  • user_tags (GameplayTagContainer): [Read-Write] Gameplay tags of the Actor or Entity requesting the Smart Object slot.

property activity_requirements: GameplayTagQuery

[Read-Write] Only return slots whose activity tags are matching this query.

Type:

(GameplayTagQuery)

property behavior_definition_class: Class

[Read-Write] deprecated: Use BehaviorDefinitionClasses instead

Type:

(type(Class))

property behavior_definition_classes: None

[Read-Write] If set, will filter out any SmartObject that uses different BehaviorDefinition classes.

Type:

(Array[type(Class)])

property user_tags: GameplayTagContainer

[Read-Write] Gameplay tags of the Actor or Entity requesting the Smart Object slot.

Type:

(GameplayTagContainer)