6lxID1oR86V4.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="6lxID1oR86V4" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="IfElse" id="1">
  5. <node class="Condition" id="2">
  6. <property Operator="Equal"/>
  7. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-卡片数量&quot;)"/>
  8. <property Opr="const float 1"/>
  9. </node>
  10. <node class="Sequence" id="3">
  11. <node class="Assignment" id="5">
  12. <property CastRight="false"/>
  13. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  14. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-位置1卡片&quot;)"/>
  15. </node>
  16. <node class="Action" id="6">
  17. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  18. <property ResultOption="BT_SUCCESS"/>
  19. </node>
  20. <node class="Assignment" id="7">
  21. <property CastRight="false"/>
  22. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  23. <property Opr="const string &quot;未选中&quot;"/>
  24. </node>
  25. <node class="Action" id="8">
  26. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  27. <property ResultOption="BT_SUCCESS"/>
  28. </node>
  29. <node class="IfElse" id="4">
  30. <node class="Condition" id="9">
  31. <property Operator="Equal"/>
  32. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  33. <property Opr="const bool true"/>
  34. </node>
  35. <node class="Sequence" id="10">
  36. <node class="Action" id="11">
  37. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;NuklCNsXgEJw&quot;,&quot;9EY9jEKFOpty&quot;,&quot;10&quot;)"/>
  38. <property ResultOption="BT_SUCCESS"/>
  39. </node>
  40. </node>
  41. <node class="Noop" id="12"/>
  42. </node>
  43. <node class="Assignment" id="14">
  44. <property CastRight="false"/>
  45. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  46. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-位置2卡片&quot;)"/>
  47. </node>
  48. <node class="Action" id="15">
  49. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  50. <property ResultOption="BT_SUCCESS"/>
  51. </node>
  52. <node class="Assignment" id="16">
  53. <property CastRight="false"/>
  54. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  55. <property Opr="const string &quot;选中&quot;"/>
  56. </node>
  57. <node class="Action" id="17">
  58. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  59. <property ResultOption="BT_SUCCESS"/>
  60. </node>
  61. <node class="IfElse" id="13">
  62. <node class="Condition" id="18">
  63. <property Operator="Equal"/>
  64. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;)"/>
  65. <property Opr="const bool true"/>
  66. </node>
  67. <node class="Sequence" id="19">
  68. <node class="Action" id="20">
  69. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;vxMZBtQqu29b&quot;,&quot;9EY9jEKFOpty&quot;,&quot;11&quot;)"/>
  70. <property ResultOption="BT_SUCCESS"/>
  71. </node>
  72. </node>
  73. <node class="Noop" id="21"/>
  74. </node>
  75. </node>
  76. <node class="Noop" id="22"/>
  77. </node>
  78. <node class="IfElse" id="23">
  79. <node class="Condition" id="24">
  80. <property Operator="Equal"/>
  81. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-卡片数量&quot;)"/>
  82. <property Opr="const float 2"/>
  83. </node>
  84. <node class="Sequence" id="25">
  85. <node class="Assignment" id="33">
  86. <property CastRight="false"/>
  87. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  88. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-位置2卡片&quot;)"/>
  89. </node>
  90. <node class="Action" id="34">
  91. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  92. <property ResultOption="BT_SUCCESS"/>
  93. </node>
  94. <node class="Assignment" id="35">
  95. <property CastRight="false"/>
  96. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  97. <property Opr="const string &quot;选中&quot;"/>
  98. </node>
  99. <node class="Action" id="36">
  100. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  101. <property ResultOption="BT_SUCCESS"/>
  102. </node>
  103. <node class="Assignment" id="28">
  104. <property CastRight="false"/>
  105. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  106. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-位置1卡片&quot;)"/>
  107. </node>
  108. <node class="Action" id="29">
  109. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  110. <property ResultOption="BT_SUCCESS"/>
  111. </node>
  112. <node class="Assignment" id="30">
  113. <property CastRight="false"/>
  114. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  115. <property Opr="const string &quot;选中&quot;"/>
  116. </node>
  117. <node class="Action" id="31">
  118. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  119. <property ResultOption="BT_SUCCESS"/>
  120. </node>
  121. <node class="IfElse" id="26">
  122. <node class="And" id="27">
  123. <node class="Condition" id="32">
  124. <property Operator="Equal"/>
  125. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  126. <property Opr="const bool true"/>
  127. </node>
  128. <node class="Condition" id="37">
  129. <property Operator="Equal"/>
  130. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  131. <property Opr="const bool true"/>
  132. </node>
  133. </node>
  134. <node class="Sequence" id="38">
  135. <node class="Action" id="39">
  136. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;9DIochLeFvtR&quot;,&quot;9EY9jEKFOpty&quot;,&quot;11&quot;)"/>
  137. <property ResultOption="BT_SUCCESS"/>
  138. </node>
  139. <node class="Action" id="40">
  140. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;uo5Iv2nzwdHq&quot;,&quot;q0JrqBewZXiL&quot;,&quot;11&quot;)"/>
  141. <property ResultOption="BT_SUCCESS"/>
  142. </node>
  143. </node>
  144. <node class="Noop" id="41"/>
  145. </node>
  146. <node class="Assignment" id="49">
  147. <property CastRight="false"/>
  148. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  149. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-位置2卡片&quot;)"/>
  150. </node>
  151. <node class="Action" id="50">
  152. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  153. <property ResultOption="BT_SUCCESS"/>
  154. </node>
  155. <node class="Assignment" id="51">
  156. <property CastRight="false"/>
  157. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  158. <property Opr="const string &quot;未选中&quot;"/>
  159. </node>
  160. <node class="Action" id="52">
  161. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  162. <property ResultOption="BT_SUCCESS"/>
  163. </node>
  164. <node class="Assignment" id="44">
  165. <property CastRight="false"/>
  166. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  167. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-位置1卡片&quot;)"/>
  168. </node>
  169. <node class="Action" id="45">
  170. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  171. <property ResultOption="BT_SUCCESS"/>
  172. </node>
  173. <node class="Assignment" id="46">
  174. <property CastRight="false"/>
  175. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  176. <property Opr="const string &quot;选中&quot;"/>
  177. </node>
  178. <node class="Action" id="47">
  179. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  180. <property ResultOption="BT_SUCCESS"/>
  181. </node>
  182. <node class="IfElse" id="42">
  183. <node class="And" id="43">
  184. <node class="Condition" id="48">
  185. <property Operator="Equal"/>
  186. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;)"/>
  187. <property Opr="const bool true"/>
  188. </node>
  189. <node class="Condition" id="53">
  190. <property Operator="Equal"/>
  191. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  192. <property Opr="const bool true"/>
  193. </node>
  194. </node>
  195. <node class="Sequence" id="54">
  196. <node class="Action" id="55">
  197. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;udoEUzAtGehB&quot;,&quot;9EY9jEKFOpty&quot;,&quot;11&quot;)"/>
  198. <property ResultOption="BT_SUCCESS"/>
  199. </node>
  200. <node class="Assignment" id="57">
  201. <property CastRight="false"/>
  202. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  203. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-判定边界&quot;)"/>
  204. </node>
  205. <node class="Action" id="58">
  206. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_12&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  207. <property ResultOption="BT_SUCCESS"/>
  208. </node>
  209. <node class="Assignment" id="59">
  210. <property CastRight="false"/>
  211. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  212. <property Opr="const string &quot;以下&quot;"/>
  213. </node>
  214. <node class="Action" id="60">
  215. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_13&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  216. <property ResultOption="BT_SUCCESS"/>
  217. </node>
  218. <node class="IfElse" id="56">
  219. <node class="Condition" id="61">
  220. <property Operator="Equal"/>
  221. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_12&quot;,&quot;__ttbt__localVariableIndex_13&quot;)"/>
  222. <property Opr="const bool true"/>
  223. </node>
  224. <node class="Sequence" id="62">
  225. <node class="Action" id="63">
  226. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;AOzkFB3Qikt7&quot;,&quot;q0JrqBewZXiL&quot;,&quot;3&quot;)"/>
  227. <property ResultOption="BT_SUCCESS"/>
  228. </node>
  229. </node>
  230. <node class="Noop" id="64"/>
  231. </node>
  232. <node class="Assignment" id="66">
  233. <property CastRight="false"/>
  234. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  235. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-判定边界&quot;)"/>
  236. </node>
  237. <node class="Action" id="67">
  238. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_14&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  239. <property ResultOption="BT_SUCCESS"/>
  240. </node>
  241. <node class="Assignment" id="68">
  242. <property CastRight="false"/>
  243. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  244. <property Opr="const string &quot;以上&quot;"/>
  245. </node>
  246. <node class="Action" id="69">
  247. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_15&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  248. <property ResultOption="BT_SUCCESS"/>
  249. </node>
  250. <node class="IfElse" id="65">
  251. <node class="Condition" id="70">
  252. <property Operator="Equal"/>
  253. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_14&quot;,&quot;__ttbt__localVariableIndex_15&quot;)"/>
  254. <property Opr="const bool true"/>
  255. </node>
  256. <node class="Sequence" id="71">
  257. <node class="Action" id="72">
  258. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;WsCJcT6dHtIV&quot;,&quot;q0JrqBewZXiL&quot;,&quot;9&quot;)"/>
  259. <property ResultOption="BT_SUCCESS"/>
  260. </node>
  261. </node>
  262. <node class="Noop" id="73"/>
  263. </node>
  264. </node>
  265. <node class="Noop" id="74"/>
  266. </node>
  267. <node class="Assignment" id="82">
  268. <property CastRight="false"/>
  269. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  270. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-位置2卡片&quot;)"/>
  271. </node>
  272. <node class="Action" id="83">
  273. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_18&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  274. <property ResultOption="BT_SUCCESS"/>
  275. </node>
  276. <node class="Assignment" id="84">
  277. <property CastRight="false"/>
  278. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  279. <property Opr="const string &quot;未选中&quot;"/>
  280. </node>
  281. <node class="Action" id="85">
  282. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_19&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  283. <property ResultOption="BT_SUCCESS"/>
  284. </node>
  285. <node class="Assignment" id="77">
  286. <property CastRight="false"/>
  287. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  288. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-位置1卡片&quot;)"/>
  289. </node>
  290. <node class="Action" id="78">
  291. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_16&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  292. <property ResultOption="BT_SUCCESS"/>
  293. </node>
  294. <node class="Assignment" id="79">
  295. <property CastRight="false"/>
  296. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  297. <property Opr="const string &quot;未选中&quot;"/>
  298. </node>
  299. <node class="Action" id="80">
  300. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_17&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  301. <property ResultOption="BT_SUCCESS"/>
  302. </node>
  303. <node class="IfElse" id="75">
  304. <node class="And" id="76">
  305. <node class="Condition" id="81">
  306. <property Operator="Equal"/>
  307. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_16&quot;,&quot;__ttbt__localVariableIndex_17&quot;)"/>
  308. <property Opr="const bool true"/>
  309. </node>
  310. <node class="Condition" id="86">
  311. <property Operator="Equal"/>
  312. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_18&quot;,&quot;__ttbt__localVariableIndex_19&quot;)"/>
  313. <property Opr="const bool true"/>
  314. </node>
  315. </node>
  316. <node class="Sequence" id="87">
  317. <node class="Action" id="88">
  318. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;ZMVRSnzKX7wn&quot;,&quot;9EY9jEKFOpty&quot;,&quot;11&quot;)"/>
  319. <property ResultOption="BT_SUCCESS"/>
  320. </node>
  321. <node class="Action" id="89">
  322. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;8Ff1bgl4cPpq&quot;,&quot;q0JrqBewZXiL&quot;,&quot;11&quot;)"/>
  323. <property ResultOption="BT_SUCCESS"/>
  324. </node>
  325. </node>
  326. <node class="Noop" id="90"/>
  327. </node>
  328. </node>
  329. <node class="Noop" id="91"/>
  330. </node>
  331. </node>
  332. </behavior>