2p7mwBZDuTUt.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="2p7mwBZDuTUt" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Action" id="1">
  5. <property Method="Self.red::RedBehaviacTree::setButtonEnable(&quot;oe1wojdTZGtv&quot;,&quot;mrMyk5XVUZpb&quot;,false)"/>
  6. <property ResultOption="BT_SUCCESS"/>
  7. </node>
  8. <node class="Action" id="2">
  9. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;HDCAYVuWAj2t&quot;,&quot;1&quot;)"/>
  10. <property ResultOption="BT_SUCCESS"/>
  11. </node>
  12. <node class="Assignment" id="4">
  13. <property CastRight="false"/>
  14. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  15. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-获得奖励物数量&quot;)"/>
  16. </node>
  17. <node class="Action" id="5">
  18. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  19. <property ResultOption="BT_SUCCESS"/>
  20. </node>
  21. <node class="Assignment" id="6">
  22. <property CastRight="false"/>
  23. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  24. <property Opr="const string &quot;1&quot;"/>
  25. </node>
  26. <node class="Action" id="7">
  27. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  28. <property ResultOption="BT_SUCCESS"/>
  29. </node>
  30. <node class="IfElse" id="3">
  31. <node class="Condition" id="8">
  32. <property Operator="Equal"/>
  33. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  34. <property Opr="const bool true"/>
  35. </node>
  36. <node class="Sequence" id="9">
  37. <node class="Action" id="10">
  38. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  39. <property ResultOption="BT_SUCCESS"/>
  40. </node>
  41. <node class="Action" id="11">
  42. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;2qx8SzIUHBnW&quot;,&quot;0SuHAayYvoAo&quot;)"/>
  43. <property ResultOption="BT_SUCCESS"/>
  44. </node>
  45. <node class="Action" id="12">
  46. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  47. <property ResultOption="BT_INVALID"/>
  48. </node>
  49. </node>
  50. <node class="Noop" id="13"/>
  51. </node>
  52. <node class="Assignment" id="15">
  53. <property CastRight="false"/>
  54. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  55. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-获得奖励物数量&quot;)"/>
  56. </node>
  57. <node class="Action" id="16">
  58. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  59. <property ResultOption="BT_SUCCESS"/>
  60. </node>
  61. <node class="Assignment" id="17">
  62. <property CastRight="false"/>
  63. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  64. <property Opr="const string &quot;2&quot;"/>
  65. </node>
  66. <node class="Action" id="18">
  67. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  68. <property ResultOption="BT_SUCCESS"/>
  69. </node>
  70. <node class="IfElse" id="14">
  71. <node class="Condition" id="19">
  72. <property Operator="Equal"/>
  73. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;)"/>
  74. <property Opr="const bool true"/>
  75. </node>
  76. <node class="Sequence" id="20">
  77. <node class="Action" id="21">
  78. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  79. <property ResultOption="BT_SUCCESS"/>
  80. </node>
  81. <node class="Action" id="22">
  82. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;WmIq1ZP0vUaX&quot;,&quot;xQZWTlWmToVQ&quot;)"/>
  83. <property ResultOption="BT_SUCCESS"/>
  84. </node>
  85. <node class="Action" id="23">
  86. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  87. <property ResultOption="BT_INVALID"/>
  88. </node>
  89. </node>
  90. <node class="Noop" id="24"/>
  91. </node>
  92. <node class="Assignment" id="26">
  93. <property CastRight="false"/>
  94. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  95. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-获得奖励物数量&quot;)"/>
  96. </node>
  97. <node class="Action" id="27">
  98. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  99. <property ResultOption="BT_SUCCESS"/>
  100. </node>
  101. <node class="Assignment" id="28">
  102. <property CastRight="false"/>
  103. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  104. <property Opr="const string &quot;3&quot;"/>
  105. </node>
  106. <node class="Action" id="29">
  107. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  108. <property ResultOption="BT_SUCCESS"/>
  109. </node>
  110. <node class="IfElse" id="25">
  111. <node class="Condition" id="30">
  112. <property Operator="Equal"/>
  113. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  114. <property Opr="const bool true"/>
  115. </node>
  116. <node class="Sequence" id="31">
  117. <node class="Action" id="32">
  118. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  119. <property ResultOption="BT_SUCCESS"/>
  120. </node>
  121. <node class="Action" id="33">
  122. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;OIklAfjtToKS&quot;,&quot;AiNRHXA7Cvvs&quot;)"/>
  123. <property ResultOption="BT_SUCCESS"/>
  124. </node>
  125. <node class="Action" id="34">
  126. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  127. <property ResultOption="BT_INVALID"/>
  128. </node>
  129. </node>
  130. <node class="Noop" id="35"/>
  131. </node>
  132. <node class="Assignment" id="37">
  133. <property CastRight="false"/>
  134. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  135. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-获得奖励物数量&quot;)"/>
  136. </node>
  137. <node class="Action" id="38">
  138. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  139. <property ResultOption="BT_SUCCESS"/>
  140. </node>
  141. <node class="Assignment" id="39">
  142. <property CastRight="false"/>
  143. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  144. <property Opr="const string &quot;4&quot;"/>
  145. </node>
  146. <node class="Action" id="40">
  147. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  148. <property ResultOption="BT_SUCCESS"/>
  149. </node>
  150. <node class="IfElse" id="36">
  151. <node class="Condition" id="41">
  152. <property Operator="Equal"/>
  153. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  154. <property Opr="const bool true"/>
  155. </node>
  156. <node class="Sequence" id="42">
  157. <node class="Action" id="43">
  158. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  159. <property ResultOption="BT_SUCCESS"/>
  160. </node>
  161. <node class="Action" id="44">
  162. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;eDsdds2VlQBo&quot;,&quot;HRennNuY6u4z&quot;)"/>
  163. <property ResultOption="BT_SUCCESS"/>
  164. </node>
  165. <node class="Action" id="45">
  166. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  167. <property ResultOption="BT_INVALID"/>
  168. </node>
  169. </node>
  170. <node class="Noop" id="46"/>
  171. </node>
  172. <node class="Assignment" id="48">
  173. <property CastRight="false"/>
  174. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  175. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-获得奖励物数量&quot;)"/>
  176. </node>
  177. <node class="Action" id="49">
  178. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  179. <property ResultOption="BT_SUCCESS"/>
  180. </node>
  181. <node class="Assignment" id="50">
  182. <property CastRight="false"/>
  183. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  184. <property Opr="const string &quot;5&quot;"/>
  185. </node>
  186. <node class="Action" id="51">
  187. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  188. <property ResultOption="BT_SUCCESS"/>
  189. </node>
  190. <node class="IfElse" id="47">
  191. <node class="Condition" id="52">
  192. <property Operator="Equal"/>
  193. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;)"/>
  194. <property Opr="const bool true"/>
  195. </node>
  196. <node class="Sequence" id="53">
  197. <node class="Action" id="54">
  198. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  199. <property ResultOption="BT_SUCCESS"/>
  200. </node>
  201. <node class="Action" id="55">
  202. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;w1lNvKW6vEkG&quot;,&quot;RppDbZBpGZmg&quot;)"/>
  203. <property ResultOption="BT_SUCCESS"/>
  204. </node>
  205. <node class="Action" id="56">
  206. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  207. <property ResultOption="BT_INVALID"/>
  208. </node>
  209. </node>
  210. <node class="Noop" id="57"/>
  211. </node>
  212. <node class="Assignment" id="59">
  213. <property CastRight="false"/>
  214. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  215. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-获得奖励物数量&quot;)"/>
  216. </node>
  217. <node class="Action" id="60">
  218. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  219. <property ResultOption="BT_SUCCESS"/>
  220. </node>
  221. <node class="Assignment" id="61">
  222. <property CastRight="false"/>
  223. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  224. <property Opr="const string &quot;6&quot;"/>
  225. </node>
  226. <node class="Action" id="62">
  227. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  228. <property ResultOption="BT_SUCCESS"/>
  229. </node>
  230. <node class="IfElse" id="58">
  231. <node class="Condition" id="63">
  232. <property Operator="Equal"/>
  233. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  234. <property Opr="const bool true"/>
  235. </node>
  236. <node class="Sequence" id="64">
  237. <node class="Action" id="65">
  238. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  239. <property ResultOption="BT_SUCCESS"/>
  240. </node>
  241. <node class="Action" id="66">
  242. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;jxKWOEkFBbHR&quot;,&quot;lSHDuZ1wSAri&quot;)"/>
  243. <property ResultOption="BT_SUCCESS"/>
  244. </node>
  245. <node class="Action" id="67">
  246. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  247. <property ResultOption="BT_INVALID"/>
  248. </node>
  249. </node>
  250. <node class="Noop" id="68"/>
  251. </node>
  252. </node>
  253. </behavior>