15 lines
886 B
XML
15 lines
886 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="BTRandomSelector" inherits="BTComposite" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
BT composite that executes tasks in random order until first [code]SUCCESS[/code].
|
|
</brief_description>
|
|
<description>
|
|
BT composite that executes child tasks in random order until any child returns [code]SUCCESS[/code].
|
|
Returns [code]RUNNING[/code] if a task returns [code]RUNNING[/code], and remembers last [code]RUNNING[/code] child and the order of execution. BTRandomSelector will continue where it left off on the next execution tick.
|
|
Returns [code]FAILURE[/code] if all tasks return [code]FAILURE[/code].
|
|
Returns [code]SUCCESS[/code] if any task returns [code]SUCCESS[/code].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
</class>
|