limboai/doc_classes/BTRandomWait.xml

20 lines
958 B
XML
Raw Normal View History

2022-11-01 20:31:22 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="BTRandomWait" inherits="BTAction" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
2022-11-01 20:31:22 +00:00
<brief_description>
BT action that waits for a randomized duration to elapse and then returns [code]SUCCESS[/code].
2022-11-01 20:31:22 +00:00
</brief_description>
<description>
BTRandomWait action waits for a randomized duration to elapse and then returns [code]SUCCESS[/code]. The duration is randomized within the specified range, defined by [member min_duration] and [member max_duration].
2022-11-01 20:31:22 +00:00
</description>
<tutorials>
</tutorials>
<members>
2023-04-10 14:57:36 +00:00
<member name="max_duration" type="float" setter="set_max_duration" getter="get_max_duration" default="2.0">
Maximum duration for the wait.
2023-04-10 14:57:36 +00:00
</member>
<member name="min_duration" type="float" setter="set_min_duration" getter="get_min_duration" default="1.0">
Minimum duration for the wait.
2022-11-01 20:31:22 +00:00
</member>
</members>
</class>