Compare commits
11 Commits
3278aaf5f7
...
debc0d5d75
Author | SHA1 | Date |
---|---|---|
monxa | debc0d5d75 | |
Alexander Montag | a83eebbdc7 | |
Alexander Montag | f00d1bfb40 | |
Alexander Montag | 88a617aa42 | |
Alexander Montag | a07b143d68 | |
Alexander Montag | b7b6312184 | |
Alexander Montag | ec6c4c3036 | |
Serhii Snitsaruk | 760af804c0 | |
Serhii Snitsaruk | c49e5142a5 | |
Serhii Snitsaruk | 60a767032e | |
Serhii Snitsaruk | 60142b191d |
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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.)`
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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.)`
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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].
|
||||||
|
|
|
@ -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].
|
||||||
|
|
|
@ -43,8 +43,9 @@
|
||||||
|
|
||||||
void TreeSearch::_clean_callable_cache() {
|
void TreeSearch::_clean_callable_cache() {
|
||||||
ERR_FAIL_COND(!tree_reference);
|
ERR_FAIL_COND(!tree_reference);
|
||||||
|
|
||||||
HashMap<TreeItem *, Callable> new_callable_cache;
|
HashMap<TreeItem *, Callable> new_callable_cache;
|
||||||
new_callable_cache.reserve(callable_cache.size()); // Efficiency
|
new_callable_cache.reserve(callable_cache.size());
|
||||||
|
|
||||||
for (int i = 0; i < ordered_tree_items.size(); i++) {
|
for (int i = 0; i < ordered_tree_items.size(); i++) {
|
||||||
TreeItem *cur_item = ordered_tree_items[i];
|
TreeItem *cur_item = ordered_tree_items[i];
|
||||||
|
@ -57,15 +58,17 @@ void TreeSearch::_clean_callable_cache() {
|
||||||
|
|
||||||
void TreeSearch::_filter_tree() {
|
void TreeSearch::_filter_tree() {
|
||||||
ERR_FAIL_COND(!tree_reference);
|
ERR_FAIL_COND(!tree_reference);
|
||||||
|
if (matching_entries.is_empty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
_filter_tree(tree_reference->get_root(), false);
|
_filter_tree(tree_reference->get_root(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TreeSearch::_filter_tree(TreeItem *p_item, bool p_parent_matching) {
|
void TreeSearch::_filter_tree(TreeItem *p_item, bool p_parent_matching) {
|
||||||
bool visible = number_matches.has(p_item) | p_parent_matching;
|
bool visible = number_matches.has(p_item) | p_parent_matching;
|
||||||
|
|
||||||
if (!visible) {
|
|
||||||
p_item->set_visible(visible);
|
p_item->set_visible(visible);
|
||||||
}
|
|
||||||
bool is_matching = _vector_has_bsearch(matching_entries, p_item);
|
bool is_matching = _vector_has_bsearch(matching_entries, p_item);
|
||||||
for (int i = 0; i < p_item->get_child_count(); i++) {
|
for (int i = 0; i < p_item->get_child_count(); i++) {
|
||||||
_filter_tree(p_item->get_child(i), is_matching | p_parent_matching);
|
_filter_tree(p_item->get_child(i), is_matching | p_parent_matching);
|
||||||
|
@ -88,7 +91,7 @@ void TreeSearch::_clear_filter() {
|
||||||
|
|
||||||
void TreeSearch::_highlight_tree() {
|
void TreeSearch::_highlight_tree() {
|
||||||
ERR_FAIL_COND(!tree_reference);
|
ERR_FAIL_COND(!tree_reference);
|
||||||
// This might not be the prettiest, but it is the most efficient solution probably.
|
|
||||||
for (HashMap<TreeItem *, int>::Iterator it = number_matches.begin(); it != number_matches.end(); ++it) {
|
for (HashMap<TreeItem *, int>::Iterator it = number_matches.begin(); it != number_matches.end(); ++it) {
|
||||||
TreeItem *tree_item = it->key;
|
TreeItem *tree_item = it->key;
|
||||||
_highlight_tree_item(tree_item);
|
_highlight_tree_item(tree_item);
|
||||||
|
@ -103,48 +106,48 @@ void TreeSearch::_highlight_tree_item(TreeItem *p_tree_item) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// make sure to also call any draw method already defined.
|
// Make sure to also call any draw method already defined.
|
||||||
Callable parent_draw_method;
|
Callable parent_draw_method;
|
||||||
if (p_tree_item->get_cell_mode(0) == TreeItem::CELL_MODE_CUSTOM) {
|
if (p_tree_item->get_cell_mode(0) == TreeItem::CELL_MODE_CUSTOM) {
|
||||||
parent_draw_method = p_tree_item->get_custom_draw_callback(0);
|
parent_draw_method = p_tree_item->get_custom_draw_callback(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the cached draw method is already applied, do nothing.
|
// If the cached draw method is already applied, do nothing.
|
||||||
if (callable_cache.has(p_tree_item) && parent_draw_method == callable_cache.get(p_tree_item)) {
|
if (callable_cache.has(p_tree_item) && parent_draw_method == callable_cache.get(p_tree_item)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Callable draw_callback = callable_mp(this, &TreeSearch::_draw_highlight_item).bind(parent_draw_method);
|
Callable draw_callback = callable_mp(this, &TreeSearch::_draw_highlight_item).bind(parent_draw_method);
|
||||||
|
|
||||||
// -- this is necessary because of the modularity of this implementation
|
// This is necessary because of the modularity of this implementation.
|
||||||
// cache render properties of entry
|
// Cache render properties of entry.
|
||||||
String cached_text = p_tree_item->get_text(0);
|
String cached_text = p_tree_item->get_text(0);
|
||||||
Ref<Texture2D> cached_icon = p_tree_item->get_icon(0);
|
Ref<Texture2D> cached_icon = p_tree_item->get_icon(0);
|
||||||
int cached_max_width = p_tree_item->get_icon_max_width(0);
|
int cached_max_width = p_tree_item->get_icon_max_width(0);
|
||||||
callable_cache[p_tree_item] = draw_callback;
|
callable_cache[p_tree_item] = draw_callback;
|
||||||
|
|
||||||
// this removes render properties in entry
|
// This removes render properties in entry.
|
||||||
p_tree_item->set_custom_draw_callback(0, draw_callback);
|
p_tree_item->set_custom_draw_callback(0, draw_callback);
|
||||||
p_tree_item->set_cell_mode(0, TreeItem::CELL_MODE_CUSTOM);
|
p_tree_item->set_cell_mode(0, TreeItem::CELL_MODE_CUSTOM);
|
||||||
|
|
||||||
// restore render properties
|
// Restore render properties.
|
||||||
p_tree_item->set_text(0, cached_text);
|
p_tree_item->set_text(0, cached_text);
|
||||||
p_tree_item->set_icon(0, cached_icon);
|
p_tree_item->set_icon(0, cached_icon);
|
||||||
p_tree_item->set_icon_max_width(0, cached_max_width);
|
p_tree_item->set_icon_max_width(0, cached_max_width);
|
||||||
}
|
}
|
||||||
|
|
||||||
// custom draw callback for highlighting (bind the parent_drw_method to this)
|
// Custom draw callback for highlighting (bind the parent_drw_method to this)
|
||||||
void TreeSearch::_draw_highlight_item(TreeItem *p_tree_item, const Rect2 p_rect, const Callable p_parent_draw_method) {
|
void TreeSearch::_draw_highlight_item(TreeItem *p_tree_item, const Rect2 p_rect, const Callable p_parent_draw_method) {
|
||||||
if (!p_tree_item) {
|
if (!p_tree_item) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// call any parent draw methods such as for probability FIRST.
|
// Call any parent draw methods such as for probability FIRST.
|
||||||
p_parent_draw_method.call(p_tree_item, p_rect);
|
p_parent_draw_method.call(p_tree_item, p_rect);
|
||||||
|
|
||||||
// first part: outline
|
// First part: outline
|
||||||
if (matching_entries.has(p_tree_item)) {
|
if (matching_entries.has(p_tree_item)) {
|
||||||
// font info
|
// Font info
|
||||||
Ref<Font> font = p_tree_item->get_custom_font(0);
|
Ref<Font> font = p_tree_item->get_custom_font(0);
|
||||||
if (font.is_null()) {
|
if (font.is_null()) {
|
||||||
font = p_tree_item->get_tree()->get_theme_font(LW_NAME(font));
|
font = p_tree_item->get_tree()->get_theme_font(LW_NAME(font));
|
||||||
|
@ -155,7 +158,7 @@ void TreeSearch::_draw_highlight_item(TreeItem *p_tree_item, const Rect2 p_rect,
|
||||||
font_size = p_tree_item->get_tree()->get_theme_font_size(LW_NAME(font));
|
font_size = p_tree_item->get_tree()->get_theme_font_size(LW_NAME(font));
|
||||||
}
|
}
|
||||||
|
|
||||||
// substring size
|
// Substring size
|
||||||
String string_full = p_tree_item->get_text(0);
|
String string_full = p_tree_item->get_text(0);
|
||||||
StringSearchIndices substring_idx = _substring_bounds(string_full, _get_search_mask());
|
StringSearchIndices substring_idx = _substring_bounds(string_full, _get_search_mask());
|
||||||
|
|
||||||
|
@ -165,14 +168,14 @@ void TreeSearch::_draw_highlight_item(TreeItem *p_tree_item, const Rect2 p_rect,
|
||||||
String substring_before = string_full.substr(0, substring_idx.lower);
|
String substring_before = string_full.substr(0, substring_idx.lower);
|
||||||
Vector2 substring_before_size = font->get_string_size(substring_before, HORIZONTAL_ALIGNMENT_LEFT, -1.f, font_size);
|
Vector2 substring_before_size = font->get_string_size(substring_before, HORIZONTAL_ALIGNMENT_LEFT, -1.f, font_size);
|
||||||
|
|
||||||
// stylebox
|
// Stylebox
|
||||||
Ref<StyleBox> stylebox = p_tree_item->get_tree()->get_theme_stylebox(LW_NAME(Focus));
|
Ref<StyleBox> stylebox = p_tree_item->get_tree()->get_theme_stylebox(LW_NAME(Focus));
|
||||||
ERR_FAIL_NULL(stylebox);
|
ERR_FAIL_NULL(stylebox);
|
||||||
|
|
||||||
// extract separation
|
// Extract separation
|
||||||
float h_sep = p_tree_item->get_tree()->get_theme_constant(LW_NAME(h_separation));
|
float h_sep = p_tree_item->get_tree()->get_theme_constant(LW_NAME(h_separation));
|
||||||
|
|
||||||
// compose draw rect
|
// Compose draw rect
|
||||||
const Vector2 PADDING = Vector2(4., 2.);
|
const Vector2 PADDING = Vector2(4., 2.);
|
||||||
Rect2 draw_rect = p_rect;
|
Rect2 draw_rect = p_rect;
|
||||||
|
|
||||||
|
@ -184,11 +187,11 @@ void TreeSearch::_draw_highlight_item(TreeItem *p_tree_item, const Rect2 p_rect,
|
||||||
draw_rect.position += rect_offset - PADDING / 2;
|
draw_rect.position += rect_offset - PADDING / 2;
|
||||||
draw_rect.size = substring_match_size + PADDING;
|
draw_rect.size = substring_match_size + PADDING;
|
||||||
|
|
||||||
// draw
|
// Draw
|
||||||
stylebox->draw(p_tree_item->get_tree()->get_canvas_item(), draw_rect);
|
stylebox->draw(p_tree_item->get_tree()->get_canvas_item(), draw_rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
// second part: draw number
|
// Second part: draw number
|
||||||
int num_mat = number_matches.has(p_tree_item) ? number_matches.get(p_tree_item) : 0;
|
int num_mat = number_matches.has(p_tree_item) ? number_matches.get(p_tree_item) : 0;
|
||||||
if (num_mat > 0) {
|
if (num_mat > 0) {
|
||||||
float h_sep = p_tree_item->get_tree()->get_theme_constant(LW_NAME(h_separation));
|
float h_sep = p_tree_item->get_tree()->get_theme_constant(LW_NAME(h_separation));
|
||||||
|
@ -212,7 +215,7 @@ void TreeSearch::_update_matching_entries(const String &p_search_mask) {
|
||||||
matching_entries = accum;
|
matching_entries = accum;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this linearizes the tree into [ordered_tree_items] like so:
|
/* Linaerizes the tree into [ordered_tree_items] like so:
|
||||||
- i1
|
- i1
|
||||||
- i2
|
- i2
|
||||||
- i3
|
- i3
|
||||||
|
@ -224,10 +227,10 @@ void TreeSearch::_update_ordered_tree_items(TreeItem *p_tree_item) {
|
||||||
if (p_tree_item == p_tree_item->get_tree()->get_root()) {
|
if (p_tree_item == p_tree_item->get_tree()->get_root()) {
|
||||||
ordered_tree_items.clear();
|
ordered_tree_items.clear();
|
||||||
}
|
}
|
||||||
// Add the current item to the list
|
// Add the current item to the list.
|
||||||
ordered_tree_items.push_back(p_tree_item);
|
ordered_tree_items.push_back(p_tree_item);
|
||||||
|
|
||||||
// Recursively collect items from the first child
|
// Recursively collect items from the first child.
|
||||||
TreeItem *child = p_tree_item->get_first_child();
|
TreeItem *child = p_tree_item->get_first_child();
|
||||||
while (child) {
|
while (child) {
|
||||||
_update_ordered_tree_items(child);
|
_update_ordered_tree_items(child);
|
||||||
|
@ -265,7 +268,7 @@ void TreeSearch::_find_matching_entries(TreeItem *p_tree_item, const String &p_s
|
||||||
_find_matching_entries(child, p_search_mask, p_accum);
|
_find_matching_entries(child, p_search_mask, p_accum);
|
||||||
}
|
}
|
||||||
|
|
||||||
// sort the result if we are at the root
|
// Sort the result if we are at the root.
|
||||||
if (p_tree_item == p_tree_item->get_tree()->get_root()) {
|
if (p_tree_item == p_tree_item->get_tree()->get_root()) {
|
||||||
p_accum.sort();
|
p_accum.sort();
|
||||||
}
|
}
|
||||||
|
@ -320,13 +323,13 @@ void TreeSearch::_select_item(TreeItem *p_item) {
|
||||||
return;
|
return;
|
||||||
ERR_FAIL_COND(!tree_reference || p_item->get_tree() != tree_reference);
|
ERR_FAIL_COND(!tree_reference || p_item->get_tree() != tree_reference);
|
||||||
|
|
||||||
// first unfold ancestors
|
// First unfold ancestors
|
||||||
TreeItem *ancestor = p_item->get_parent();
|
TreeItem *ancestor = p_item->get_parent();
|
||||||
while (ancestor) {
|
while (ancestor) {
|
||||||
ancestor->set_collapsed(false);
|
ancestor->set_collapsed(false);
|
||||||
ancestor = ancestor->get_parent();
|
ancestor = ancestor->get_parent();
|
||||||
}
|
}
|
||||||
//then scroll to [item]
|
// Then scroll to [item]
|
||||||
tree_reference->scroll_to_item(p_item);
|
tree_reference->scroll_to_item(p_item);
|
||||||
|
|
||||||
// ...and select it
|
// ...and select it
|
||||||
|
@ -348,18 +351,63 @@ void TreeSearch::_select_first_match() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TreeSearch::_select_last_match() {
|
||||||
|
if (matching_entries.size() == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
for (int i = ordered_tree_items.size() - 1; i >= 0; i--) {
|
||||||
|
TreeItem *item = ordered_tree_items[i];
|
||||||
|
if (!_vector_has_bsearch(matching_entries, item)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
_select_item(item);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void TreeSearch::_select_previous_match() {
|
||||||
|
if (matching_entries.size() == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
TreeItem *selected = tree_reference->get_selected();
|
||||||
|
if (!selected) {
|
||||||
|
_select_last_match();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
// Find [selected_idx] among ordered_tree_items.
|
||||||
|
int selected_idx = 0;
|
||||||
|
for (int i = ordered_tree_items.size() - 1; i >= 0; i--) {
|
||||||
|
if (ordered_tree_items[i] == selected) {
|
||||||
|
selected_idx = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Find first entry before [selected_idx].
|
||||||
|
for (int i = MIN(ordered_tree_items.size() - 1, selected_idx) - 1; i >= 0; i--) {
|
||||||
|
TreeItem *item = ordered_tree_items[i];
|
||||||
|
if (_vector_has_bsearch(matching_entries, item)) {
|
||||||
|
_select_item(item);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Wrap around.
|
||||||
|
_select_last_match();
|
||||||
|
}
|
||||||
|
|
||||||
void TreeSearch::_select_next_match() {
|
void TreeSearch::_select_next_match() {
|
||||||
if (matching_entries.size() == 0) {
|
if (matching_entries.size() == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
TreeItem *selected = tree_reference->get_selected();
|
TreeItem *selected = tree_reference->get_selected();
|
||||||
if (!selected) {
|
if (!selected) {
|
||||||
_select_first_match();
|
_select_first_match();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// find [selected_idx] among ordered_tree_items
|
// Find [selected_idx] among ordered_tree_items
|
||||||
int selected_idx = -1;
|
int selected_idx = 0;
|
||||||
for (int i = 0; i < ordered_tree_items.size(); i++) {
|
for (int i = 0; i < ordered_tree_items.size(); i++) {
|
||||||
if (ordered_tree_items[i] == selected) {
|
if (ordered_tree_items[i] == selected) {
|
||||||
selected_idx = i;
|
selected_idx = i;
|
||||||
|
@ -367,7 +415,7 @@ void TreeSearch::_select_next_match() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// find first entry after [selected_idx].
|
// Find first entry after [selected_idx].
|
||||||
for (int i = MAX(0, selected_idx) + 1; i < ordered_tree_items.size(); i++) {
|
for (int i = MAX(0, selected_idx) + 1; i < ordered_tree_items.size(); i++) {
|
||||||
TreeItem *item = ordered_tree_items[i];
|
TreeItem *item = ordered_tree_items[i];
|
||||||
if (_vector_has_bsearch(matching_entries, item)) {
|
if (_vector_has_bsearch(matching_entries, item)) {
|
||||||
|
@ -375,7 +423,7 @@ void TreeSearch::_select_next_match() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// wrap around.
|
// Wrap around.
|
||||||
_select_first_match();
|
_select_first_match();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -401,14 +449,14 @@ void TreeSearch::notify_item_edited(TreeItem *item) {
|
||||||
_highlight_tree_item(item);
|
_highlight_tree_item(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Call this as a post-processing step for the already constructed tree.
|
// Called as a post-processing step for the already constructed tree.
|
||||||
void TreeSearch::update_search(Tree *p_tree) {
|
void TreeSearch::update_search(Tree *p_tree) {
|
||||||
ERR_FAIL_COND(!search_panel || !p_tree);
|
ERR_FAIL_COND(!search_panel || !p_tree);
|
||||||
|
|
||||||
tree_reference = p_tree;
|
tree_reference = p_tree;
|
||||||
|
|
||||||
if (!search_panel->is_visible() || search_panel->get_text().length() == 0) {
|
if (!search_panel->is_visible() || search_panel->get_text().length() == 0) {
|
||||||
// clear and redraw if search was active recently.
|
// Clear and redraw if search was active recently.
|
||||||
if (was_searched_recently) {
|
if (was_searched_recently) {
|
||||||
_clear_filter();
|
_clear_filter();
|
||||||
number_matches.clear();
|
number_matches.clear();
|
||||||
|
@ -427,7 +475,6 @@ void TreeSearch::update_search(Tree *p_tree) {
|
||||||
_update_matching_entries(search_mask);
|
_update_matching_entries(search_mask);
|
||||||
_update_number_matches();
|
_update_number_matches();
|
||||||
|
|
||||||
_clear_filter();
|
|
||||||
_highlight_tree();
|
_highlight_tree();
|
||||||
if (search_mode == TreeSearchMode::FILTER) {
|
if (search_mode == TreeSearchMode::FILTER) {
|
||||||
_filter_tree();
|
_filter_tree();
|
||||||
|
@ -443,6 +490,7 @@ TreeSearch::TreeSearch(TreeSearchPanel *p_search_panel) {
|
||||||
search_panel = p_search_panel;
|
search_panel = p_search_panel;
|
||||||
search_panel->connect(LW_NAME(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(LW_NAME(Close), callable_mp(this, &TreeSearch::_on_search_panel_closed));
|
search_panel->connect(LW_NAME(Close), callable_mp(this, &TreeSearch::_on_search_panel_closed));
|
||||||
|
search_panel->connect("select_previous_match", callable_mp(this, &TreeSearch::_select_previous_match));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* !TreeSearch */
|
/* !TreeSearch */
|
||||||
|
@ -453,20 +501,30 @@ void TreeSearchPanel::_initialize_controls() {
|
||||||
line_edit_search = memnew(LineEdit);
|
line_edit_search = memnew(LineEdit);
|
||||||
check_button_filter_highlight = memnew(CheckBox);
|
check_button_filter_highlight = memnew(CheckBox);
|
||||||
close_button = memnew(Button);
|
close_button = memnew(Button);
|
||||||
|
find_next_button = memnew(Button);
|
||||||
|
find_prev_button = memnew(Button);
|
||||||
label_filter = memnew(Label);
|
label_filter = memnew(Label);
|
||||||
|
|
||||||
line_edit_search->set_placeholder(TTR("Search tree"));
|
line_edit_search->set_placeholder(TTR("Search tree"));
|
||||||
|
|
||||||
close_button->set_theme_type_variation(LW_NAME(FlatButton));
|
close_button->set_theme_type_variation(LW_NAME(FlatButton));
|
||||||
|
find_next_button->set_theme_type_variation(LW_NAME(FlatButton));
|
||||||
|
find_prev_button->set_theme_type_variation(LW_NAME(FlatButton));
|
||||||
|
|
||||||
// positioning and sizing
|
close_button->set_tooltip_text("Hide");
|
||||||
|
find_next_button->set_tooltip_text("Next Match");
|
||||||
|
find_prev_button->set_tooltip_text("Previous Match");
|
||||||
|
|
||||||
|
// Positioning and sizing
|
||||||
set_anchors_and_offsets_preset(LayoutPreset::PRESET_BOTTOM_WIDE);
|
set_anchors_and_offsets_preset(LayoutPreset::PRESET_BOTTOM_WIDE);
|
||||||
set_v_size_flags(SIZE_SHRINK_CENTER); // Do not expand vertically
|
set_v_size_flags(SIZE_SHRINK_CENTER); // Do not expand vertically
|
||||||
|
|
||||||
line_edit_search->set_h_size_flags(SIZE_EXPAND_FILL);
|
line_edit_search->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||||
|
|
||||||
_add_spacer(0.25); // otherwise the lineedits expand margin touches the left border.
|
_add_spacer(0.1); // -> Otherwise the lineedits expand margin touches the left border.
|
||||||
add_child(line_edit_search);
|
add_child(line_edit_search);
|
||||||
|
add_child(find_prev_button);
|
||||||
|
add_child(find_next_button);
|
||||||
_add_spacer(0.25);
|
_add_spacer(0.25);
|
||||||
|
|
||||||
add_child(check_button_filter_highlight);
|
add_child(check_button_filter_highlight);
|
||||||
|
@ -474,7 +532,6 @@ void TreeSearchPanel::_initialize_controls() {
|
||||||
|
|
||||||
_add_spacer(0.25);
|
_add_spacer(0.25);
|
||||||
add_child(close_button);
|
add_child(close_button);
|
||||||
_add_spacer(0.25);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TreeSearchPanel::_add_spacer(float p_width_multiplier) {
|
void TreeSearchPanel::_add_spacer(float p_width_multiplier) {
|
||||||
|
@ -486,13 +543,16 @@ void TreeSearchPanel::_add_spacer(float p_width_multiplier) {
|
||||||
void TreeSearchPanel::_notification(int p_what) {
|
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(LW_NAME(pressed), Callable(this, LW_NAME(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->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")); // TODO: use internal shortcut.
|
||||||
// search callbacks
|
// Search callbacks
|
||||||
Callable c_update_requested = Callable(this, LW_NAME(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, LW_NAME(emit_signal)).bind(LW_NAME(text_submitted));
|
Callable c_text_submitted = Callable(this, LW_NAME(emit_signal)).bind(LW_NAME(text_submitted));
|
||||||
|
Callable c_select_previous_match = Callable(this, LW_NAME(emit_signal)).bind("select_previous_match");
|
||||||
|
find_next_button->connect(LW_NAME(pressed), c_text_submitted);
|
||||||
|
find_prev_button->connect(LW_NAME(pressed), c_select_previous_match);
|
||||||
|
|
||||||
line_edit_search->connect(LW_NAME(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(LW_NAME(pressed), c_update_requested);
|
check_button_filter_highlight->connect(LW_NAME(pressed), c_update_requested);
|
||||||
|
@ -501,6 +561,8 @@ void TreeSearchPanel::_notification(int p_what) {
|
||||||
}
|
}
|
||||||
case NOTIFICATION_THEME_CHANGED: {
|
case NOTIFICATION_THEME_CHANGED: {
|
||||||
BUTTON_SET_ICON(close_button, get_theme_icon(LW_NAME(Close), LW_NAME(EditorIcons)));
|
BUTTON_SET_ICON(close_button, get_theme_icon(LW_NAME(Close), LW_NAME(EditorIcons)));
|
||||||
|
BUTTON_SET_ICON(find_prev_button, get_theme_icon("MoveUp", LW_NAME(EditorIcons)));
|
||||||
|
BUTTON_SET_ICON(find_next_button, get_theme_icon("MoveDown", LW_NAME(EditorIcons)));
|
||||||
label_filter->set_text(TTR("Filter"));
|
label_filter->set_text(TTR("Filter"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -510,6 +572,7 @@ 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(LW_NAME(text_submitted)));
|
ADD_SIGNAL(MethodInfo(LW_NAME(text_submitted)));
|
||||||
|
ADD_SIGNAL(MethodInfo("select_previous_match"));
|
||||||
ADD_SIGNAL(MethodInfo(LW_NAME(Close)));
|
ADD_SIGNAL(MethodInfo(LW_NAME(Close)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,14 +53,14 @@ private:
|
||||||
|
|
||||||
// For TaskTree: These are updated when the tree is updated through TaskTree::_create_tree.
|
// For TaskTree: These are updated when the tree is updated through TaskTree::_create_tree.
|
||||||
Tree *tree_reference;
|
Tree *tree_reference;
|
||||||
// linearized ordering of tree items.
|
// Linearized ordering of tree items.
|
||||||
Vector<TreeItem *> ordered_tree_items;
|
Vector<TreeItem *> ordered_tree_items;
|
||||||
// entires that match the search mask.
|
// Entires that match the search mask.
|
||||||
// TODO: Decide if this can be removed. It can be implicitly inferred from number_matches.
|
// TODO: Decide if this can be removed. It can be implicitly inferred from number_matches.
|
||||||
Vector<TreeItem *> matching_entries;
|
Vector<TreeItem *> matching_entries;
|
||||||
// number of descendant matches for each tree item.
|
// Number of descendant matches for each tree item.
|
||||||
HashMap<TreeItem *, int> number_matches;
|
HashMap<TreeItem *, int> number_matches;
|
||||||
// custom draw-callbacks for each tree item.
|
// Custom draw-callbacks for each tree item.
|
||||||
HashMap<TreeItem *, Callable> callable_cache;
|
HashMap<TreeItem *, Callable> callable_cache;
|
||||||
|
|
||||||
bool was_searched_recently = false; // Performance
|
bool was_searched_recently = false; // Performance
|
||||||
|
@ -68,7 +68,7 @@ private:
|
||||||
|
|
||||||
void _clean_callable_cache();
|
void _clean_callable_cache();
|
||||||
|
|
||||||
// Update_search() calls these
|
// update_search() calls these
|
||||||
void _filter_tree();
|
void _filter_tree();
|
||||||
void _filter_tree(TreeItem *item, bool p_parent_matching);
|
void _filter_tree(TreeItem *item, bool p_parent_matching);
|
||||||
void _clear_filter();
|
void _clear_filter();
|
||||||
|
@ -76,7 +76,7 @@ private:
|
||||||
void _highlight_tree();
|
void _highlight_tree();
|
||||||
void _highlight_tree_item(TreeItem *p_tree_item);
|
void _highlight_tree_item(TreeItem *p_tree_item);
|
||||||
|
|
||||||
// Custom draw-Callback (bind inherited Callable).
|
// custom draw-Callback (bind inherited Callable).
|
||||||
void _draw_highlight_item(TreeItem *p_tree_item, const Rect2 p_rect, const Callable p_parent_draw_method);
|
void _draw_highlight_item(TreeItem *p_tree_item, const Rect2 p_rect, const Callable p_parent_draw_method);
|
||||||
|
|
||||||
void _update_matching_entries(const String &p_search_mask);
|
void _update_matching_entries(const String &p_search_mask);
|
||||||
|
@ -89,11 +89,15 @@ private:
|
||||||
|
|
||||||
void _select_item(TreeItem *p_item);
|
void _select_item(TreeItem *p_item);
|
||||||
void _select_first_match();
|
void _select_first_match();
|
||||||
|
void _select_last_match();
|
||||||
|
|
||||||
|
void _select_previous_match();
|
||||||
void _select_next_match();
|
void _select_next_match();
|
||||||
|
|
||||||
void _on_search_panel_closed();
|
void _on_search_panel_closed();
|
||||||
|
|
||||||
// TODO: make p_vec ref `const` once Vector::bsearch is const. See: https://github.com/godotengine/godot/pull/90341
|
// TODO: make p_vec ref `const` once Vector::bsearch is const.
|
||||||
|
// See: https://github.com/godotengine/godot/pull/90341
|
||||||
template <typename T>
|
template <typename T>
|
||||||
bool _vector_has_bsearch(Vector<T *> &p_vec, T *element) const;
|
bool _vector_has_bsearch(Vector<T *> &p_vec, T *element) const;
|
||||||
|
|
||||||
|
@ -112,7 +116,10 @@ public:
|
||||||
bool visible;
|
bool visible;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Called as a post-processing step for the already constructed tree.
|
||||||
void update_search(Tree *p_tree);
|
void update_search(Tree *p_tree);
|
||||||
|
|
||||||
|
// This restores the highlight-drawing if a single item got edited.
|
||||||
void notify_item_edited(TreeItem *p_item);
|
void notify_item_edited(TreeItem *p_item);
|
||||||
|
|
||||||
TreeSearch() { ERR_FAIL_MSG("TreeSearch needs a TreeSearchPanel to work properly."); }
|
TreeSearch() { ERR_FAIL_MSG("TreeSearch needs a TreeSearchPanel to work properly."); }
|
||||||
|
@ -127,6 +134,8 @@ class TreeSearchPanel : public HFlowContainer {
|
||||||
private:
|
private:
|
||||||
Button *toggle_button_filter_highlight;
|
Button *toggle_button_filter_highlight;
|
||||||
Button *close_button;
|
Button *close_button;
|
||||||
|
Button *find_next_button;
|
||||||
|
Button *find_prev_button;
|
||||||
Label *label_filter;
|
Label *label_filter;
|
||||||
LineEdit *line_edit_search;
|
LineEdit *line_edit_search;
|
||||||
CheckBox *check_button_filter_highlight;
|
CheckBox *check_button_filter_highlight;
|
||||||
|
|
|
@ -263,6 +263,21 @@ void LimboHSM::_validate_property(PropertyInfo &p_property) const {
|
||||||
void LimboHSM::_notification(int p_what) {
|
void LimboHSM::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_POST_ENTER_TREE: {
|
case NOTIFICATION_POST_ENTER_TREE: {
|
||||||
|
if (was_active && is_root()) {
|
||||||
|
// Re-activate the root HSM if it was previously active.
|
||||||
|
// Typically, this happens when the node is re-entered scene repeatedly (e.g., re-parenting, pooling).
|
||||||
|
set_active(true);
|
||||||
|
}
|
||||||
|
} break;
|
||||||
|
case NOTIFICATION_EXIT_TREE: {
|
||||||
|
if (is_root()) {
|
||||||
|
// Remember active status for re-parenting and exit state machine
|
||||||
|
// to release resources and signal connections if active.
|
||||||
|
was_active = active;
|
||||||
|
if (is_active()) {
|
||||||
|
_exit();
|
||||||
|
}
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_PROCESS: {
|
case NOTIFICATION_PROCESS: {
|
||||||
_update(get_process_delta_time());
|
_update(get_process_delta_time());
|
||||||
|
|
|
@ -55,6 +55,7 @@ private:
|
||||||
LimboState *previous_active;
|
LimboState *previous_active;
|
||||||
LimboState *next_active;
|
LimboState *next_active;
|
||||||
bool updating = false;
|
bool updating = false;
|
||||||
|
bool was_active = false;
|
||||||
|
|
||||||
HashMap<TransitionKey, Transition, TransitionKeyHasher> transitions;
|
HashMap<TransitionKey, Transition, TransitionKeyHasher> transitions;
|
||||||
|
|
||||||
|
|
|
@ -190,11 +190,6 @@ void LimboState::_notification(int p_what) {
|
||||||
_update_blackboard_plan();
|
_update_blackboard_plan();
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_PREDELETE: {
|
|
||||||
if (is_active()) {
|
|
||||||
_exit();
|
|
||||||
}
|
|
||||||
} break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue