Compare commits

...

9 Commits

Author SHA1 Message Date
monxa aaf18b9c30
Merge e6e1addbcb into 760af804c0 2024-09-30 19:33:58 +02:00
Alexander Montag e6e1addbcb
Optimize TreeSearch::_filter_tree for performance 2024-09-30 19:23:49 +02:00
Alexander Montag 8d781da1a6
Replace c-strings with LW_NAME for signals in TreeSearch(Panel) 2024-09-30 19:08:25 +02:00
Alexander Montag 683834f58e
Drop `TreeSearchPanel::set_text`. 2024-09-30 14:22:23 +00:00
Alexander Montag 10c8f58ca9
Remember SearchInfo for each tab. Focus tree when *user* closes SearchPanel 2024-09-30 16:13:36 +02:00
Serhii Snitsaruk 760af804c0
Merge pull request #230 from limbonaut/fix-docs
Fix and update docs
2024-09-30 12:36:57 +02:00
Serhii Snitsaruk c49e5142a5
Fix and update docs 2024-09-30 11:17:01 +02:00
Serhii Snitsaruk 60a767032e
Merge pull request #226 from limbonaut/fix-hsm-exit-crash
Fix invalid access errors on exit in LimboHSM
2024-09-26 16:54:31 +02:00
Serhii Snitsaruk 60142b191d
Fix invalid access crash on exit in LimboHSM
Since #131, `LimboState::_exit()` became a source of potential crashes
if object references are used without a validity check. It's too easy
to miss this, which can lead to game crashing during runtime.

This fix reverts #131 change and proposes alternative approach of
re-activating root HSM upon tree entering if it was previously active.
Note that it's not an ideal solution, as some state will be lost upon
re-parenting: HSM exits and then re-activates and enters its initial state.
2024-09-22 13:57:15 +02:00
106 changed files with 333 additions and 266 deletions

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBAabb.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBAabb.xml.
.. _class_BBAabb: .. _class_BBAabb:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBArray.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBArray.xml.
.. _class_BBArray: .. _class_BBArray:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBBasis.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBBasis.xml.
.. _class_BBBasis: .. _class_BBBasis:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBBool.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBBool.xml.
.. _class_BBBool: .. _class_BBBool:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBByteArray.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBByteArray.xml.
.. _class_BBByteArray: .. _class_BBByteArray:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBColor.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBColor.xml.
.. _class_BBColor: .. _class_BBColor:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBColorArray.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBColorArray.xml.
.. _class_BBColorArray: .. _class_BBColorArray:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBDictionary.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBDictionary.xml.
.. _class_BBDictionary: .. _class_BBDictionary:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBFloat.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBFloat.xml.
.. _class_BBFloat: .. _class_BBFloat:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBFloat32Array.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBFloat32Array.xml.
.. _class_BBFloat32Array: .. _class_BBFloat32Array:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBFloat64Array.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBFloat64Array.xml.
.. _class_BBFloat64Array: .. _class_BBFloat64Array:

View File

@ -1,23 +0,0 @@
:github_url: hide
.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.2/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.2/modules/limboai/doc_classes/BBFloatArray.xml.
.. _class_BBFloatArray:
BBFloatArray
============
**Inherits:** :ref:`BBParam<class_BBParam>`
FloatArray-type parameter for :ref:`BehaviorTree<class_BehaviorTree>` tasks. See :ref:`BBParam<class_BBParam>`.
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
.. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBInt.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBInt.xml.
.. _class_BBInt: .. _class_BBInt:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBInt32Array.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBInt32Array.xml.
.. _class_BBInt32Array: .. _class_BBInt32Array:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBInt64Array.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBInt64Array.xml.
.. _class_BBInt64Array: .. _class_BBInt64Array:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBNode.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBNode.xml.
.. _class_BBNode: .. _class_BBNode:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBParam.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBParam.xml.
.. _class_BBParam: .. _class_BBParam:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBPlane.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBPlane.xml.
.. _class_BBPlane: .. _class_BBPlane:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBProjection.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBProjection.xml.
.. _class_BBProjection: .. _class_BBProjection:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBQuaternion.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBQuaternion.xml.
.. _class_BBQuaternion: .. _class_BBQuaternion:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBRect2.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBRect2.xml.
.. _class_BBRect2: .. _class_BBRect2:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBRect2i.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBRect2i.xml.
.. _class_BBRect2i: .. _class_BBRect2i:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBString.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBString.xml.
.. _class_BBString: .. _class_BBString:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBStringArray.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBStringArray.xml.
.. _class_BBStringArray: .. _class_BBStringArray:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBStringName.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBStringName.xml.
.. _class_BBStringName: .. _class_BBStringName:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBTransform2D.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBTransform2D.xml.
.. _class_BBTransform2D: .. _class_BBTransform2D:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBTransform3D.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBTransform3D.xml.
.. _class_BBTransform3D: .. _class_BBTransform3D:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBVariant.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBVariant.xml.
.. _class_BBVariant: .. _class_BBVariant:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBVector2.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBVector2.xml.
.. _class_BBVector2: .. _class_BBVector2:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBVector2Array.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBVector2Array.xml.
.. _class_BBVector2Array: .. _class_BBVector2Array:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBVector2i.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBVector2i.xml.
.. _class_BBVector2i: .. _class_BBVector2i:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBVector3.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBVector3.xml.
.. _class_BBVector3: .. _class_BBVector3:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBVector3Array.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBVector3Array.xml.
.. _class_BBVector3Array: .. _class_BBVector3Array:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBVector3i.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBVector3i.xml.
.. _class_BBVector3i: .. _class_BBVector3i:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBVector4.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBVector4.xml.
.. _class_BBVector4: .. _class_BBVector4:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BBVector4i.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BBVector4i.xml.
.. _class_BBVector4i: .. _class_BBVector4i:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BehaviorTree.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BehaviorTree.xml.
.. _class_BehaviorTree: .. _class_BehaviorTree:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BehaviorTreeData.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BehaviorTreeData.xml.
.. _class_BehaviorTreeData: .. _class_BehaviorTreeData:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BehaviorTreeView.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BehaviorTreeView.xml.
.. _class_BehaviorTreeView: .. _class_BehaviorTreeView:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/Blackboard.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/Blackboard.xml.
.. _class_Blackboard: .. _class_Blackboard:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BlackboardPlan.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BlackboardPlan.xml.
.. _class_BlackboardPlan: .. _class_BlackboardPlan:
@ -34,23 +34,23 @@ Methods
.. table:: .. table::
:widths: auto :widths: auto
+---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +---------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Blackboard<class_Blackboard>` | :ref:`create_blackboard<class_BlackboardPlan_method_create_blackboard>`\ (\ node\: ``Node``, parent_scope\: :ref:`Blackboard<class_Blackboard>` = null\ ) | | :ref:`Blackboard<class_Blackboard>` | :ref:`create_blackboard<class_BlackboardPlan_method_create_blackboard>`\ (\ prefetch_root\: ``Node``, parent_scope\: :ref:`Blackboard<class_Blackboard>` = null, prefetch_root_for_base_plan\: ``Node`` = null\ ) |
+---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +---------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`BlackboardPlan<class_BlackboardPlan>` | :ref:`get_base_plan<class_BlackboardPlan_method_get_base_plan>`\ (\ ) |const| | | :ref:`BlackboardPlan<class_BlackboardPlan>` | :ref:`get_base_plan<class_BlackboardPlan_method_get_base_plan>`\ (\ ) |const| |
+---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +---------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ``Callable`` | :ref:`get_parent_scope_plan_provider<class_BlackboardPlan_method_get_parent_scope_plan_provider>`\ (\ ) |const| | | ``Callable`` | :ref:`get_parent_scope_plan_provider<class_BlackboardPlan_method_get_parent_scope_plan_provider>`\ (\ ) |const| |
+---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +---------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ``bool`` | :ref:`is_derived<class_BlackboardPlan_method_is_derived>`\ (\ ) |const| | | ``bool`` | :ref:`is_derived<class_BlackboardPlan_method_is_derived>`\ (\ ) |const| |
+---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +---------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`populate_blackboard<class_BlackboardPlan_method_populate_blackboard>`\ (\ blackboard\: :ref:`Blackboard<class_Blackboard>`, overwrite\: ``bool``, node\: ``Node``\ ) | | |void| | :ref:`populate_blackboard<class_BlackboardPlan_method_populate_blackboard>`\ (\ blackboard\: :ref:`Blackboard<class_Blackboard>`, overwrite\: ``bool``, prefetch_root\: ``Node``, prefetch_root_for_base_plan\: ``Node`` = null\ ) |
+---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +---------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`set_base_plan<class_BlackboardPlan_method_set_base_plan>`\ (\ blackboard_plan\: :ref:`BlackboardPlan<class_BlackboardPlan>`\ ) | | |void| | :ref:`set_base_plan<class_BlackboardPlan_method_set_base_plan>`\ (\ blackboard_plan\: :ref:`BlackboardPlan<class_BlackboardPlan>`\ ) |
+---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +---------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`set_parent_scope_plan_provider<class_BlackboardPlan_method_set_parent_scope_plan_provider>`\ (\ callable\: ``Callable``\ ) | | |void| | :ref:`set_parent_scope_plan_provider<class_BlackboardPlan_method_set_parent_scope_plan_provider>`\ (\ callable\: ``Callable``\ ) |
+---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +---------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`sync_with_base_plan<class_BlackboardPlan_method_sync_with_base_plan>`\ (\ ) | | |void| | :ref:`sync_with_base_plan<class_BlackboardPlan_method_sync_with_base_plan>`\ (\ ) |
+---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +---------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
.. rst-class:: classref-section-separator .. rst-class:: classref-section-separator
@ -87,9 +87,9 @@ Method Descriptions
.. rst-class:: classref-method .. rst-class:: classref-method
:ref:`Blackboard<class_Blackboard>` **create_blackboard**\ (\ node\: ``Node``, parent_scope\: :ref:`Blackboard<class_Blackboard>` = null\ ) :ref:`🔗<class_BlackboardPlan_method_create_blackboard>` :ref:`Blackboard<class_Blackboard>` **create_blackboard**\ (\ prefetch_root\: ``Node``, parent_scope\: :ref:`Blackboard<class_Blackboard>` = null, prefetch_root_for_base_plan\: ``Node`` = null\ ) :ref:`🔗<class_BlackboardPlan_method_create_blackboard>`
Constructs a new instance of a :ref:`Blackboard<class_Blackboard>` using this plan. If ``NodePath`` prefetching is enabled, ``node`` will be used to retrieve node instances for ``NodePath`` variables and substitute their values. Constructs a new instance of a :ref:`Blackboard<class_Blackboard>` using this plan. If ``NodePath`` prefetching is enabled, ``prefetch_root`` will be used to retrieve node instances for ``NodePath`` variables and substitute their values.
.. rst-class:: classref-item-separator .. rst-class:: classref-item-separator
@ -135,9 +135,9 @@ Returns ``true`` if this plan is derived from another, i.e., the base plan is no
.. rst-class:: classref-method .. rst-class:: classref-method
|void| **populate_blackboard**\ (\ blackboard\: :ref:`Blackboard<class_Blackboard>`, overwrite\: ``bool``, node\: ``Node``\ ) :ref:`🔗<class_BlackboardPlan_method_populate_blackboard>` |void| **populate_blackboard**\ (\ blackboard\: :ref:`Blackboard<class_Blackboard>`, overwrite\: ``bool``, prefetch_root\: ``Node``, prefetch_root_for_base_plan\: ``Node`` = null\ ) :ref:`🔗<class_BlackboardPlan_method_populate_blackboard>`
Populates ``blackboard`` with the variables from this plan. If ``overwrite`` is ``true``, existing variables with the same names will be overwritten. If ``NodePath`` prefetching is enabled, ``node`` will be used to retrieve node instances for ``NodePath`` variables and substitute their values. Populates ``blackboard`` with the variables from this plan. If ``overwrite`` is ``true``, existing variables with the same names will be overwritten. If ``NodePath`` prefetching is enabled, ``prefetch_root`` will be used to retrieve node instances for ``NodePath`` variables and substitute their values.
.. rst-class:: classref-item-separator .. rst-class:: classref-item-separator

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BT.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BT.xml.
.. _class_BT: .. _class_BT:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTAction.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTAction.xml.
.. _class_BTAction: .. _class_BTAction:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTAlwaysFail.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTAlwaysFail.xml.
.. _class_BTAlwaysFail: .. _class_BTAlwaysFail:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTAlwaysSucceed.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTAlwaysSucceed.xml.
.. _class_BTAlwaysSucceed: .. _class_BTAlwaysSucceed:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTAwaitAnimation.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTAwaitAnimation.xml.
.. _class_BTAwaitAnimation: .. _class_BTAwaitAnimation:
@ -95,7 +95,7 @@ Parameter that specifies the ``AnimationPlayer`` node.
- |void| **set_max_time**\ (\ value\: ``float``\ ) - |void| **set_max_time**\ (\ value\: ``float``\ )
- ``float`` **get_max_time**\ (\ ) - ``float`` **get_max_time**\ (\ )
The maximum duration to wait for the animation to complete (in seconds). If the animation doesn't finish within this time, BTAwaitAnimation will return ``FAILURE``. The maximum duration to wait for the animation to complete (in seconds). If the animation doesn't finish within this time, BTAwaitAnimation will stop waiting and return ``SUCCESS``.
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTCallMethod.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTCallMethod.xml.
.. _class_BTCallMethod: .. _class_BTCallMethod:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTCheckAgentProperty.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTCheckAgentProperty.xml.
.. _class_BTCheckAgentProperty: .. _class_BTCheckAgentProperty:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTCheckTrigger.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTCheckTrigger.xml.
.. _class_BTCheckTrigger: .. _class_BTCheckTrigger:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTCheckVar.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTCheckVar.xml.
.. _class_BTCheckVar: .. _class_BTCheckVar:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTComment.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTComment.xml.
.. _class_BTComment: .. _class_BTComment:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTComposite.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTComposite.xml.
.. _class_BTComposite: .. _class_BTComposite:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTCondition.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTCondition.xml.
.. _class_BTCondition: .. _class_BTCondition:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTConsolePrint.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTConsolePrint.xml.
.. _class_BTConsolePrint: .. _class_BTConsolePrint:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTCooldown.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTCooldown.xml.
.. _class_BTCooldown: .. _class_BTCooldown:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTDecorator.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTDecorator.xml.
.. _class_BTDecorator: .. _class_BTDecorator:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTDelay.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTDelay.xml.
.. _class_BTDelay: .. _class_BTDelay:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTDynamicSelector.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTDynamicSelector.xml.
.. _class_BTDynamicSelector: .. _class_BTDynamicSelector:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTDynamicSequence.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTDynamicSequence.xml.
.. _class_BTDynamicSequence: .. _class_BTDynamicSequence:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTEvaluateExpression.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTEvaluateExpression.xml.
.. _class_BTEvaluateExpression: .. _class_BTEvaluateExpression:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTFail.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTFail.xml.
.. _class_BTFail: .. _class_BTFail:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTForEach.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTForEach.xml.
.. _class_BTForEach: .. _class_BTForEach:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTInstance.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTInstance.xml.
.. _class_BTInstance: .. _class_BTInstance:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTInvert.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTInvert.xml.
.. _class_BTInvert: .. _class_BTInvert:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTNewScope.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTNewScope.xml.
.. _class_BTNewScope: .. _class_BTNewScope:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTParallel.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTParallel.xml.
.. _class_BTParallel: .. _class_BTParallel:
@ -65,7 +65,7 @@ Property Descriptions
- |void| **set_num_failures_required**\ (\ value\: ``int``\ ) - |void| **set_num_failures_required**\ (\ value\: ``int``\ )
- ``int`` **get_num_failures_required**\ (\ ) - ``int`` **get_num_failures_required**\ (\ )
If the specified number of child tasks return ``SUCCESS``, BTParallel will also return ``SUCCESS``. If the specified number of child tasks return ``FAILURE``, BTParallel will also return ``FAILURE``.
.. rst-class:: classref-item-separator .. rst-class:: classref-item-separator
@ -82,7 +82,7 @@ If the specified number of child tasks return ``SUCCESS``, BTParallel will also
- |void| **set_num_successes_required**\ (\ value\: ``int``\ ) - |void| **set_num_successes_required**\ (\ value\: ``int``\ )
- ``int`` **get_num_successes_required**\ (\ ) - ``int`` **get_num_successes_required**\ (\ )
If the specified number of child tasks return ``FAILURE``, BTParallel will also return ``FAILURE``. If the specified number of child tasks return ``SUCCESS``, BTParallel will also return ``SUCCESS``.
.. rst-class:: classref-item-separator .. rst-class:: classref-item-separator

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTPauseAnimation.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTPauseAnimation.xml.
.. _class_BTPauseAnimation: .. _class_BTPauseAnimation:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTPlayAnimation.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTPlayAnimation.xml.
.. _class_BTPlayAnimation: .. _class_BTPlayAnimation:
@ -103,7 +103,7 @@ Parameter that specifies the ``AnimationPlayer`` node.
- |void| **set_await_completion**\ (\ value\: ``float``\ ) - |void| **set_await_completion**\ (\ value\: ``float``\ )
- ``float`` **get_await_completion**\ (\ ) - ``float`` **get_await_completion**\ (\ )
The maximum duration to wait for the animation to complete (in seconds). If the animation doesn't finish within this time, BTAwaitAnimation will return ``FAILURE``. If set to ``0``, BTPlayAnimation doesn't wait for the animation to finish and immediately returns ``SUCCESS``. The maximum duration to wait for the animation to complete (in seconds). If the animation doesn't finish within this time, BTPlayAnimation will stop waiting and return ``SUCCESS``.
.. rst-class:: classref-item-separator .. rst-class:: classref-item-separator

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTPlayer.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTPlayer.xml.
.. _class_BTPlayer: .. _class_BTPlayer:
@ -241,6 +241,11 @@ Stores and manages variables that will be used in constructing new :ref:`Blackbo
``bool`` **monitor_performance** = ``false`` :ref:`🔗<class_BTPlayer_property_monitor_performance>` ``bool`` **monitor_performance** = ``false`` :ref:`🔗<class_BTPlayer_property_monitor_performance>`
.. rst-class:: classref-property-setget
- |void| **set_monitor_performance**\ (\ value\: ``bool``\ )
- ``bool`` **get_monitor_performance**\ (\ )
If ``true``, adds a performance monitor to "Debugger->Monitors" for each instance of this **BTPlayer** node. If ``true``, adds a performance monitor to "Debugger->Monitors" for each instance of this **BTPlayer** node.
.. rst-class:: classref-item-separator .. rst-class:: classref-item-separator

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTProbability.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTProbability.xml.
.. _class_BTProbability: .. _class_BTProbability:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTProbabilitySelector.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTProbabilitySelector.xml.
.. _class_BTProbabilitySelector: .. _class_BTProbabilitySelector:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTRandomSelector.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTRandomSelector.xml.
.. _class_BTRandomSelector: .. _class_BTRandomSelector:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTRandomSequence.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTRandomSequence.xml.
.. _class_BTRandomSequence: .. _class_BTRandomSequence:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTRandomWait.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTRandomWait.xml.
.. _class_BTRandomWait: .. _class_BTRandomWait:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTRepeat.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTRepeat.xml.
.. _class_BTRepeat: .. _class_BTRepeat:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTRepeatUntilFailure.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTRepeatUntilFailure.xml.
.. _class_BTRepeatUntilFailure: .. _class_BTRepeatUntilFailure:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTRepeatUntilSuccess.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTRepeatUntilSuccess.xml.
.. _class_BTRepeatUntilSuccess: .. _class_BTRepeatUntilSuccess:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTRunLimit.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTRunLimit.xml.
.. _class_BTRunLimit: .. _class_BTRunLimit:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTSelector.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTSelector.xml.
.. _class_BTSelector: .. _class_BTSelector:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTSequence.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTSequence.xml.
.. _class_BTSequence: .. _class_BTSequence:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTSetAgentProperty.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTSetAgentProperty.xml.
.. _class_BTSetAgentProperty: .. _class_BTSetAgentProperty:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTSetVar.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTSetVar.xml.
.. _class_BTSetVar: .. _class_BTSetVar:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTState.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTState.xml.
.. _class_BTState: .. _class_BTState:
@ -102,6 +102,11 @@ HSM event that will be dispatched when the behavior tree results in ``FAILURE``.
``bool`` **monitor_performance** = ``false`` :ref:`🔗<class_BTState_property_monitor_performance>` ``bool`` **monitor_performance** = ``false`` :ref:`🔗<class_BTState_property_monitor_performance>`
.. rst-class:: classref-property-setget
- |void| **set_monitor_performance**\ (\ value\: ``bool``\ )
- ``bool`` **get_monitor_performance**\ (\ )
If ``true``, adds a performance monitor to "Debugger->Monitors" for each instance of this **BTState** node. If ``true``, adds a performance monitor to "Debugger->Monitors" for each instance of this **BTState** node.
.. rst-class:: classref-item-separator .. rst-class:: classref-item-separator

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTStopAnimation.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTStopAnimation.xml.
.. _class_BTStopAnimation: .. _class_BTStopAnimation:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTSubtree.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTSubtree.xml.
.. _class_BTSubtree: .. _class_BTSubtree:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTTask.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTTask.xml.
.. _class_BTTask: .. _class_BTTask:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTTimeLimit.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTTimeLimit.xml.
.. _class_BTTimeLimit: .. _class_BTTimeLimit:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTWait.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTWait.xml.
.. _class_BTWait: .. _class_BTWait:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/BTWaitTicks.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/BTWaitTicks.xml.
.. _class_BTWaitTicks: .. _class_BTWaitTicks:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/LimboHSM.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/LimboHSM.xml.
.. _class_LimboHSM: .. _class_LimboHSM:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/LimboState.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/LimboState.xml.
.. _class_LimboState: .. _class_LimboState:

View File

@ -2,8 +2,8 @@
.. DO NOT EDIT THIS FILE!!! .. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources. .. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/modules/limboai/doc_classes/LimboUtility.xml. .. XML source: https://github.com/godotengine/godot/tree/4.3/modules/limboai/doc_classes/LimboUtility.xml.
.. _class_LimboUtility: .. _class_LimboUtility:

View File

@ -18,7 +18,7 @@
Parameter that specifies the [AnimationPlayer] node. Parameter that specifies the [AnimationPlayer] node.
</member> </member>
<member name="max_time" type="float" setter="set_max_time" getter="get_max_time" default="1.0"> <member name="max_time" type="float" setter="set_max_time" getter="get_max_time" default="1.0">
The maximum duration to wait for the animation to complete (in seconds). If the animation doesn't finish within this time, BTAwaitAnimation will return [code]FAILURE[/code]. The maximum duration to wait for the animation to complete (in seconds). If the animation doesn't finish within this time, BTAwaitAnimation will stop waiting and return [code]SUCCESS[/code].
</member> </member>
</members> </members>
</class> </class>

View File

@ -14,10 +14,10 @@
</tutorials> </tutorials>
<members> <members>
<member name="num_failures_required" type="int" setter="set_num_failures_required" getter="get_num_failures_required" default="1"> <member name="num_failures_required" type="int" setter="set_num_failures_required" getter="get_num_failures_required" default="1">
If the specified number of child tasks return [code]SUCCESS[/code], BTParallel will also return [code]SUCCESS[/code]. If the specified number of child tasks return [code]FAILURE[/code], BTParallel will also return [code]FAILURE[/code].
</member> </member>
<member name="num_successes_required" type="int" setter="set_num_successes_required" getter="get_num_successes_required" default="1"> <member name="num_successes_required" type="int" setter="set_num_successes_required" getter="get_num_successes_required" default="1">
If the specified number of child tasks return [code]FAILURE[/code], BTParallel will also return [code]FAILURE[/code]. If the specified number of child tasks return [code]SUCCESS[/code], BTParallel will also return [code]SUCCESS[/code].
</member> </member>
<member name="repeat" type="bool" setter="set_repeat" getter="get_repeat" default="false"> <member name="repeat" type="bool" setter="set_repeat" getter="get_repeat" default="false">
When [code]true[/code], the child tasks will be executed again, regardless of whether they previously resulted in a [code]SUCCESS[/code] or [code]FAILURE[/code]. When [code]true[/code], the child tasks will be executed again, regardless of whether they previously resulted in a [code]SUCCESS[/code] or [code]FAILURE[/code].

View File

@ -19,7 +19,7 @@
Parameter that specifies the [AnimationPlayer] node. Parameter that specifies the [AnimationPlayer] node.
</member> </member>
<member name="await_completion" type="float" setter="set_await_completion" getter="get_await_completion" default="0.0"> <member name="await_completion" type="float" setter="set_await_completion" getter="get_await_completion" default="0.0">
The maximum duration to wait for the animation to complete (in seconds). If the animation doesn't finish within this time, BTAwaitAnimation will return [code]FAILURE[/code]. If set to [code]0[/code], BTPlayAnimation doesn't wait for the animation to finish and immediately returns [code]SUCCESS[/code]. The maximum duration to wait for the animation to complete (in seconds). If the animation doesn't finish within this time, BTPlayAnimation will stop waiting and return [code]SUCCESS[/code].
</member> </member>
<member name="blend" type="float" setter="set_blend" getter="get_blend" default="-1.0"> <member name="blend" type="float" setter="set_blend" getter="get_blend" default="-1.0">
Custom blend time (in seconds). See [method AnimationPlayer.play]. Custom blend time (in seconds). See [method AnimationPlayer.play].

View File

@ -261,6 +261,10 @@ void LimboAIEditor::edit_bt(const Ref<BehaviorTree> &p_behavior_tree, bool p_for
p_behavior_tree->editor_set_section_unfold("blackboard_plan", true); p_behavior_tree->editor_set_section_unfold("blackboard_plan", true);
p_behavior_tree->notify_property_list_changed(); p_behavior_tree->notify_property_list_changed();
#endif // LIMBOAI_MODULE #endif // LIMBOAI_MODULE
// Remember current search info.
if (idx_history >= 0 && idx_history < history.size()) {
tab_search_context.insert(history[idx_history], task_tree->tree_search_get_search_info());
}
task_tree->load_bt(p_behavior_tree); task_tree->load_bt(p_behavior_tree);
@ -280,6 +284,18 @@ void LimboAIEditor::edit_bt(const Ref<BehaviorTree> &p_behavior_tree, bool p_for
task_tree->show(); task_tree->show();
task_palette->show(); task_palette->show();
// Restore search info from [tab_search_context].
if (idx_history >= 0 && idx_history < history.size()) {
// info for BehaviorTree available. Restore!
if (tab_search_context.has(history[idx_history])) {
task_tree->tree_search_set_search_info(tab_search_context[history[idx_history]]);
}
// new SearchContext.
else {
task_tree->tree_search_set_search_info(TreeSearch::SearchInfo());
}
}
_update_tabs(); _update_tabs();
} }

View File

@ -48,6 +48,7 @@
#ifdef LIMBOAI_GDEXTENSION #ifdef LIMBOAI_GDEXTENSION
#include "godot_cpp/classes/accept_dialog.hpp" #include "godot_cpp/classes/accept_dialog.hpp"
#include <godot_cpp/classes/config_file.hpp>
#include <godot_cpp/classes/control.hpp> #include <godot_cpp/classes/control.hpp>
#include <godot_cpp/classes/editor_plugin.hpp> #include <godot_cpp/classes/editor_plugin.hpp>
#include <godot_cpp/classes/editor_spin_slider.hpp> #include <godot_cpp/classes/editor_spin_slider.hpp>
@ -64,7 +65,6 @@
#include <godot_cpp/classes/texture2d.hpp> #include <godot_cpp/classes/texture2d.hpp>
#include <godot_cpp/variant/packed_string_array.hpp> #include <godot_cpp/variant/packed_string_array.hpp>
#include <godot_cpp/variant/variant.hpp> #include <godot_cpp/variant/variant.hpp>
#include <godot_cpp/classes/config_file.hpp>
using namespace godot; using namespace godot;
@ -143,6 +143,7 @@ private:
EditorLayout editor_layout; EditorLayout editor_layout;
Vector<Ref<BehaviorTree>> history; Vector<Ref<BehaviorTree>> history;
int idx_history; int idx_history;
HashMap<Ref<BehaviorTree>, TreeSearch::SearchInfo> tab_search_context;
bool updating_tabs = false; bool updating_tabs = false;
bool request_update_tabs = false; bool request_update_tabs = false;
HashSet<Ref<BehaviorTree>> dirty; HashSet<Ref<BehaviorTree>> dirty;

View File

@ -546,7 +546,6 @@ void TaskTree::_notification(int p_what) {
_update_tree(); _update_tree();
} break; } break;
} }
} }
void TaskTree::_bind_methods() { void TaskTree::_bind_methods() {
@ -573,11 +572,27 @@ void TaskTree::_bind_methods() {
PropertyInfo(Variant::INT, "type"))); PropertyInfo(Variant::INT, "type")));
} }
// TreeSearch API
void TaskTree::tree_search_show_and_focus() { void TaskTree::tree_search_show_and_focus() {
ERR_FAIL_NULL(tree_search); ERR_FAIL_NULL(tree_search);
tree_search_panel->show_and_focus(); tree_search_panel->set_visible(true);
tree_search_panel->focus_editor();
} }
TreeSearch::SearchInfo TaskTree::tree_search_get_search_info() const {
if (!tree_search.is_valid()) {
return TreeSearch::SearchInfo();
}
return tree_search_panel->get_search_info();
}
void TaskTree::tree_search_set_search_info(const TreeSearch::SearchInfo &p_search_info) {
ERR_FAIL_NULL(tree_search);
tree_search_panel->set_search_info(p_search_info);
}
// TreeSearch Api ^
TaskTree::TaskTree() { TaskTree::TaskTree() {
editable = true; editable = true;
updating_tree = false; updating_tree = false;

View File

@ -103,13 +103,16 @@ public:
Ref<BTTask> get_selected() const; Ref<BTTask> get_selected() const;
Vector<Ref<BTTask>> get_selected_tasks() const; Vector<Ref<BTTask>> get_selected_tasks() const;
void clear_selection(); void clear_selection();
void tree_search_show_and_focus();
Rect2 get_selected_probability_rect() const; Rect2 get_selected_probability_rect() const;
double get_selected_probability_weight() const; double get_selected_probability_weight() const;
double get_selected_probability_percent() const; double get_selected_probability_percent() const;
bool selected_has_probability() const; bool selected_has_probability() const;
// TreeSearch API
void tree_search_show_and_focus();
TreeSearch::SearchInfo tree_search_get_search_info() const;
void tree_search_set_search_info(const TreeSearch::SearchInfo &p_search_info);
virtual bool editor_can_reload_from_file() { return false; } virtual bool editor_can_reload_from_file() { return false; }
TaskTree(); TaskTree();

View File

@ -68,10 +68,16 @@ void TreeSearch::_filter_tree(const String &p_search_mask) {
} }
TreeItem *first_counting_ancestor = cur_item; TreeItem *first_counting_ancestor = cur_item;
bool parents_visible = true;
while (first_counting_ancestor && !number_matches.has(first_counting_ancestor)) { while (first_counting_ancestor && !number_matches.has(first_counting_ancestor)) {
// Performance: we only need to check the first visible ancestor. This is already optimal because of the ordering in ordered_tree_items.
if (!first_counting_ancestor->is_visible()){
parents_visible = false;
break;
}
first_counting_ancestor = first_counting_ancestor->get_parent(); first_counting_ancestor = first_counting_ancestor->get_parent();
} }
if (!first_counting_ancestor || !_vector_has_bsearch(matching_entries, first_counting_ancestor)) { if (!parents_visible || !first_counting_ancestor || !_vector_has_bsearch(matching_entries, first_counting_ancestor)) {
cur_item->set_visible(false); cur_item->set_visible(false);
} }
} }
@ -383,10 +389,11 @@ void TreeSearch::_select_next_match() {
_select_first_match(); _select_first_match();
} }
void TreeSearch::_on_search_panel_visibility_changed() { void TreeSearch::_on_search_panel_closed() {
if (tree_reference && !search_panel->is_visible()) { if (!tree_reference) {
tree_reference->grab_focus(); return;
} }
tree_reference->grab_focus();
} }
template <typename T> template <typename T>
@ -444,8 +451,8 @@ void TreeSearch::update_search(Tree *p_tree) {
TreeSearch::TreeSearch(TreeSearchPanel *p_search_panel) { TreeSearch::TreeSearch(TreeSearchPanel *p_search_panel) {
search_panel = p_search_panel; search_panel = p_search_panel;
search_panel->connect("text_submitted", callable_mp(this, &TreeSearch::_select_next_match)); search_panel->connect(LW_NAME(text_submitted), callable_mp(this, &TreeSearch::_select_next_match));
search_panel->connect("visibility_changed", callable_mp(this, &TreeSearch::_on_search_panel_visibility_changed)); search_panel->connect(LW_NAME(Close), callable_mp(this, &TreeSearch::_on_search_panel_closed));
} }
/* !TreeSearch */ /* !TreeSearch */
@ -490,16 +497,16 @@ void TreeSearchPanel::_notification(int p_what) {
switch (p_what) { switch (p_what) {
case NOTIFICATION_READY: { case NOTIFICATION_READY: {
// close callbacks // close callbacks
close_button->connect("pressed", Callable(this, "set_visible").bind(false)); close_button->connect(LW_NAME(pressed), Callable(this, LW_NAME(set_visible)).bind(false));
close_button->connect(LW_NAME(pressed), Callable(this, LW_NAME(emit_signal)).bind(LW_NAME(Close)));
close_button->set_shortcut(LW_GET_SHORTCUT("limbo_ai/hide_tree_search")); close_button->set_shortcut(LW_GET_SHORTCUT("limbo_ai/hide_tree_search"));
// search callbacks // search callbacks
Callable c_update_requested = Callable(this, "emit_signal").bind("update_requested"); Callable c_update_requested = Callable(this, LW_NAME(emit_signal)).bind("update_requested");
Callable c_text_submitted = Callable((Object *)this, "emit_signal").bind("text_submitted"); Callable c_text_submitted = Callable((Object *)this, LW_NAME(emit_signal)).bind(LW_NAME(text_submitted));
line_edit_search->connect("text_changed", c_update_requested.unbind(1)); line_edit_search->connect(LW_NAME(text_changed), c_update_requested.unbind(1));
check_button_filter_highlight->connect("pressed", c_update_requested); check_button_filter_highlight->connect(LW_NAME(pressed), c_update_requested);
line_edit_search->connect("text_submitted", c_text_submitted.unbind(1)); line_edit_search->connect(LW_NAME(text_submitted), c_text_submitted.unbind(1));
break; break;
} }
case NOTIFICATION_THEME_CHANGED: { case NOTIFICATION_THEME_CHANGED: {
@ -512,7 +519,8 @@ void TreeSearchPanel::_notification(int p_what) {
void TreeSearchPanel::_bind_methods() { void TreeSearchPanel::_bind_methods() {
ADD_SIGNAL(MethodInfo("update_requested")); ADD_SIGNAL(MethodInfo("update_requested"));
ADD_SIGNAL(MethodInfo("text_submitted")); ADD_SIGNAL(MethodInfo(LW_NAME(text_submitted)));
ADD_SIGNAL(MethodInfo(LW_NAME(Close)));
} }
TreeSearchPanel::TreeSearchPanel() { TreeSearchPanel::TreeSearchPanel() {
@ -534,8 +542,22 @@ String TreeSearchPanel::get_text() const {
return line_edit_search->get_text(); return line_edit_search->get_text();
} }
void TreeSearchPanel::show_and_focus() { TreeSearch::SearchInfo TreeSearchPanel::get_search_info() const {
set_visible(true); TreeSearch::SearchInfo result;
result.search_mask = get_text();
result.search_mode = get_search_mode();
result.visible = is_visible();
return result;
}
void TreeSearchPanel::set_search_info(const TreeSearch::SearchInfo &p_search_info) {
line_edit_search->set_text(p_search_info.search_mask);
check_button_filter_highlight->set_pressed(p_search_info.search_mode == TreeSearch::TreeSearchMode::FILTER);
set_visible(p_search_info.visible);
emit_signal("update_requested");
}
void TreeSearchPanel::focus_editor() {
line_edit_search->grab_focus(); line_edit_search->grab_focus();
} }

Some files were not shown because too many files have changed in this diff Show More