Player of [BehaviorTree] resources.
BTPlayer is used for instantiation and playback of [BehaviorTree] resources at run time.
Returns last execution status. See [enum BT.Status].
Cancel execution of the tree and start anew. This method does not reset [Blackboard].
Assign a [Blackboard] instance.
Updates the tree by executing the root task. Call this method when [member update_mode] is set to [constant MANUAL]. When [member update_mode] is not set to [constant MANUAL], the tree is updated automatically. See [enum UpdateMode].
If [code]true[/code], tree is active and will be processed.
[BehaviorTree] resource to instantiate and process at run time.
[Blackboard] instance that contains data shared by the tasks in [BehaviorTree].
Add a performance monitor to "Debugger->Monitors" for each instance of this [BTPlayer].
If [code]true[/code], any NodePath variables in the [Blackboard] are replaced with references during tree instantiation. References are retrieved by calling [method Node.get_node] of BTPlayer.
Defines when BehaviorTree is executed. See [enum UpdateMode].
Notifies when behavior tree finishes executing and returns [code]SUCCESS[/code] or [code]FAILURE[/code].
Argument [code]p_status[/code] holds the status returned by the behavior tree.
Emitted when BTPlayer has finished updating/ticking the tree.
Process tree during the idle process.
Process tree during the physics process.
Tree is processed manually by calling [method update].