BehaviorTreeData

Inherits:

Represents current state of a BehaviorTree instance.

Description

This class is used by the LimboAI debugger for the serialization and deserialization of BehaviorTree instance data.

Additionally, it can be used with BehaviorTreeView to visualize the current state of a BehaviorTree instance. It is meant to be utilized in custom in-game tools.

Methods

BehaviorTreeData

create_from_tree_instance ( BTTask tree_instance ) static


Method Descriptions

BehaviorTreeData create_from_tree_instance ( BTTask tree_instance ) static

Returns current state of the tree_instance encoded as a BehaviorTreeData, suitable for use with BehaviorTreeView.

Behavior tree instance can be acquired with BTPlayer.get_tree_instance.