limboai/doc_classes/BTRandomWait.xml

20 lines
979 B
XML
Raw Normal View History

2022-11-01 20:31:22 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-04-10 14:57:36 +00:00
<class name="BTRandomWait" inherits="BTAction" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
2022-11-01 20:31:22 +00:00
<brief_description>
2022-11-04 12:27:09 +00:00
BT action that waits for a randomized duration to pass and returns [code]SUCCESS[/code].
2022-11-01 20:31:22 +00:00
</brief_description>
<description>
2023-04-10 14:57:36 +00:00
BT action that waits for a randomized duration to pass and returns [code]SUCCESS[/code]. Actual duration is randomized. The minimum wait time is defined by [code]min_duration[/code], and the maximum is defined by [code]max_duration[/code].
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 to wait.
</member>
<member name="min_duration" type="float" setter="set_min_duration" getter="get_min_duration" default="1.0">
Minimum duration to wait.
2022-11-01 20:31:22 +00:00
</member>
</members>
</class>