unreal.SmartObjectRequestFilter

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

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.

  • should_evaluate_conditions (bool): [Read-Write] If true will evaluate the slot and object conditions, otherwise will skip them.

  • 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 should_evaluate_conditions: bool

[Read-Write] If true will evaluate the slot and object conditions, otherwise will skip them.

Type:

(bool)

property user_tags: GameplayTagContainer

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

Type:

(GameplayTagContainer)