bfzw2PWHXvpD.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="bfzw2PWHXvpD" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="2">
  5. <property CastRight="false"/>
  6. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  7. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-状态&quot;)"/>
  8. </node>
  9. <node class="Action" id="3">
  10. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  11. <property ResultOption="BT_SUCCESS"/>
  12. </node>
  13. <node class="Assignment" id="4">
  14. <property CastRight="false"/>
  15. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  16. <property Opr="const string &quot;未解锁&quot;"/>
  17. </node>
  18. <node class="Action" id="5">
  19. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  20. <property ResultOption="BT_SUCCESS"/>
  21. </node>
  22. <node class="IfElse" id="1">
  23. <node class="Condition" id="6">
  24. <property Operator="Equal"/>
  25. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  26. <property Opr="const bool true"/>
  27. </node>
  28. <node class="Sequence" id="7">
  29. <node class="Action" id="8">
  30. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;uUvwQUZHRIFl&quot;,&quot;0&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. </node>
  34. <node class="Noop" id="9"/>
  35. </node>
  36. <node class="Assignment" id="11">
  37. <property CastRight="false"/>
  38. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  39. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-状态&quot;)"/>
  40. </node>
  41. <node class="Action" id="12">
  42. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  43. <property ResultOption="BT_SUCCESS"/>
  44. </node>
  45. <node class="Assignment" id="13">
  46. <property CastRight="false"/>
  47. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  48. <property Opr="const string &quot;已解锁未完成&quot;"/>
  49. </node>
  50. <node class="Action" id="14">
  51. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  52. <property ResultOption="BT_SUCCESS"/>
  53. </node>
  54. <node class="IfElse" id="10">
  55. <node class="Condition" id="15">
  56. <property Operator="Equal"/>
  57. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;)"/>
  58. <property Opr="const bool true"/>
  59. </node>
  60. <node class="Sequence" id="16">
  61. <node class="Action" id="17">
  62. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;Nqo30mEvUV9U&quot;,&quot;1&quot;)"/>
  63. <property ResultOption="BT_SUCCESS"/>
  64. </node>
  65. </node>
  66. <node class="Noop" id="18"/>
  67. </node>
  68. <node class="Assignment" id="20">
  69. <property CastRight="false"/>
  70. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  71. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-状态&quot;)"/>
  72. </node>
  73. <node class="Action" id="21">
  74. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  75. <property ResultOption="BT_SUCCESS"/>
  76. </node>
  77. <node class="Assignment" id="22">
  78. <property CastRight="false"/>
  79. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  80. <property Opr="const string &quot;已解锁已完成&quot;"/>
  81. </node>
  82. <node class="Action" id="23">
  83. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  84. <property ResultOption="BT_SUCCESS"/>
  85. </node>
  86. <node class="IfElse" id="19">
  87. <node class="Condition" id="24">
  88. <property Operator="Equal"/>
  89. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  90. <property Opr="const bool true"/>
  91. </node>
  92. <node class="Sequence" id="25">
  93. <node class="Action" id="26">
  94. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;4YLsQZK6H4ny&quot;,&quot;2&quot;)"/>
  95. <property ResultOption="BT_SUCCESS"/>
  96. </node>
  97. </node>
  98. <node class="Noop" id="27"/>
  99. </node>
  100. <node class="Assignment" id="29">
  101. <property CastRight="false"/>
  102. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  103. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-状态&quot;)"/>
  104. </node>
  105. <node class="Action" id="30">
  106. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  107. <property ResultOption="BT_SUCCESS"/>
  108. </node>
  109. <node class="Assignment" id="31">
  110. <property CastRight="false"/>
  111. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  112. <property Opr="const string &quot;已完成按钮状态&quot;"/>
  113. </node>
  114. <node class="Action" id="32">
  115. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  116. <property ResultOption="BT_SUCCESS"/>
  117. </node>
  118. <node class="IfElse" id="28">
  119. <node class="Condition" id="33">
  120. <property Operator="Equal"/>
  121. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  122. <property Opr="const bool true"/>
  123. </node>
  124. <node class="Sequence" id="34">
  125. <node class="Action" id="35">
  126. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;0TEjA1X7Dkny&quot;,&quot;10&quot;)"/>
  127. <property ResultOption="BT_SUCCESS"/>
  128. </node>
  129. <node class="Action" id="36">
  130. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;cGYtXUAnXIOO&quot;,&quot;zwGUPleyIAkT&quot;,&quot;0&quot;)"/>
  131. <property ResultOption="BT_SUCCESS"/>
  132. </node>
  133. </node>
  134. <node class="Noop" id="37"/>
  135. </node>
  136. <node class="Action" id="38">
  137. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  138. <property ResultOption="BT_SUCCESS"/>
  139. </node>
  140. <node class="Action" id="39">
  141. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;DhOTB6J94nh7&quot;,&quot;tbqaTiZWBztq&quot;)"/>
  142. <property ResultOption="BT_SUCCESS"/>
  143. </node>
  144. <node class="Action" id="40">
  145. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  146. <property ResultOption="BT_INVALID"/>
  147. </node>
  148. <node class="Action" id="41">
  149. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  150. <property ResultOption="BT_SUCCESS"/>
  151. </node>
  152. <node class="Action" id="42">
  153. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;AYzzQK2tpgPZ&quot;,&quot;FD747giWdokm&quot;)"/>
  154. <property ResultOption="BT_SUCCESS"/>
  155. </node>
  156. <node class="Action" id="43">
  157. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  158. <property ResultOption="BT_INVALID"/>
  159. </node>
  160. <node class="Action" id="44">
  161. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  162. <property ResultOption="BT_SUCCESS"/>
  163. </node>
  164. <node class="Action" id="45">
  165. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;g5KsNx39c1wG&quot;,&quot;roqUUka2DpDF&quot;)"/>
  166. <property ResultOption="BT_SUCCESS"/>
  167. </node>
  168. <node class="Action" id="46">
  169. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  170. <property ResultOption="BT_INVALID"/>
  171. </node>
  172. </node>
  173. </behavior>