unreal.BlackboardKeySelector

class unreal.BlackboardKeySelector(allowed_types=[], selected_key_name='None', selected_key_type=None, selected_key_id=255, none_is_allowed_value=False)

Bases: unreal.StructBase

helper struct for defining types of allowed blackboard entries (e.g. only entries holding points and objects derived form actor class)

C++ Source:

  • Module: AIModule
  • File: BehaviorTreeTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allowed_types (Array(BlackboardKeyType)): [Read-Write] array of allowed types with additional properties (e.g. uobject’s base class) EditAnywhere is required for FBlackboardSelectorDetails::CacheBlackboardData()
  • none_is_allowed_value (bool): [Read-Write] None Is Allowed Value
  • selected_key_id (uint8): [Read-Write] ID of selected key
  • selected_key_name (Name): [Read-Write] name of selected key
  • selected_key_type (type(Class)): [Read-Write] class of selected key
allowed_types

(Array(BlackboardKeyType)) – [Read-Write] array of allowed types with additional properties (e.g. uobject’s base class) EditAnywhere is required for FBlackboardSelectorDetails::CacheBlackboardData()

none_is_allowed_value

(bool) – [Read-Write] None Is Allowed Value

selected_key_id

(uint8) – [Read-Write] ID of selected key

selected_key_name

(Name) – [Read-Write] name of selected key

selected_key_type

(type(Class)) – [Read-Write] class of selected key