unreal.BTFunctionLibrary
¶
- class unreal.BTFunctionLibrary(outer=None, name='None')¶
Bases:
unreal.BlueprintFunctionLibrary
BTFunction Library
C++ Source:
Module: AIModule
File: BTFunctionLibrary.h
- classmethod clear_blackboard_value(node_owner, key) → None¶
Resets indicated value to “not set” value, based on values type
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- classmethod clear_blackboard_value_as_vector(node_owner, key) → None¶
(DEPRECATED) Use ClearBlackboardValue instead deprecated: Use ClearBlackboardValue instead.
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- classmethod get_blackboard(node_owner)¶
deprecated: ‘get_blackboard’ was renamed to ‘get_owners_blackboard’.
- classmethod get_blackboard_value_as_actor(node_owner, key) → Actor¶
Get Blackboard Value as Actor
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
- classmethod get_blackboard_value_as_bool(node_owner, key) → bool¶
Get Blackboard Value as Bool
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
- classmethod get_blackboard_value_as_class(node_owner, key)¶
Get Blackboard Value as Class
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
- classmethod get_blackboard_value_as_enum(node_owner, key) → uint8¶
Get Blackboard Value as Enum
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
uint8
- classmethod get_blackboard_value_as_float(node_owner, key) → float¶
Get Blackboard Value as Float
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
- classmethod get_blackboard_value_as_int(node_owner, key) → int32¶
Get Blackboard Value as Int
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
int32
- classmethod get_blackboard_value_as_name(node_owner, key) → Name¶
Get Blackboard Value as Name
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
- classmethod get_blackboard_value_as_object(node_owner, key) → Object¶
Get Blackboard Value as Object
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
- classmethod get_blackboard_value_as_rotator(node_owner, key) → Rotator¶
Get Blackboard Value as Rotator
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
- classmethod get_blackboard_value_as_string(node_owner, key) → str¶
Get Blackboard Value as String
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
- classmethod get_blackboard_value_as_vector(node_owner, key) → Vector¶
Get Blackboard Value as Vector
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- Returns
- Return type
- classmethod get_owner_component(node_owner) → BehaviorTreeComponent¶
Get Owner Component
- Parameters
node_owner (BTNode) –
- Returns
- Return type
- classmethod get_owners_blackboard(node_owner) → BlackboardComponent¶
Get Owners Blackboard
- Parameters
node_owner (BTNode) –
- Returns
- Return type
- classmethod set_blackboard_value_as_bool(node_owner, key, value) → None¶
Set Blackboard Value as Bool
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
value (bool) –
- classmethod set_blackboard_value_as_class(node_owner, key, value) → None¶
Set Blackboard Value as Class
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
- classmethod set_blackboard_value_as_enum(node_owner, key, value) → None¶
Set Blackboard Value as Enum
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
value (uint8) –
- classmethod set_blackboard_value_as_float(node_owner, key, value) → None¶
Set Blackboard Value as Float
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
value (float) –
- classmethod set_blackboard_value_as_int(node_owner, key, value) → None¶
Set Blackboard Value as Int
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
value (int32) –
- classmethod set_blackboard_value_as_name(node_owner, key, value) → None¶
Set Blackboard Value as Name
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
value (Name) –
- classmethod set_blackboard_value_as_object(node_owner, key, value) → None¶
Set Blackboard Value as Object
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
value (Object) –
- classmethod set_blackboard_value_as_rotator(node_owner, key, value) → None¶
Set Blackboard Value as Rotator
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
value (Rotator) –
- classmethod set_blackboard_value_as_string(node_owner, key, value) → None¶
Set Blackboard Value as String
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
value (str) –
- classmethod set_blackboard_value_as_vector(node_owner, key, value) → None¶
Set Blackboard Value as Vector
- Parameters
node_owner (BTNode) –
key (BlackboardKeySelector) –
value (Vector) –