2fjJXIcaKQ0Y.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="2fjJXIcaKQ0Y" 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;1&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;bxYF4RCEbJWV&quot;,&quot;2&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;2&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;WFgfTA8LhWN&quot;,&quot;3&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;3&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;vRu7W1VecPcT&quot;,&quot;4&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;4&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;zWX0DwxUjMIm&quot;,&quot;6&quot;)"/>
  127. <property ResultOption="BT_SUCCESS"/>
  128. </node>
  129. </node>
  130. <node class="Noop" id="36"/>
  131. </node>
  132. <node class="Assignment" id="38">
  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="39">
  138. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  139. <property ResultOption="BT_SUCCESS"/>
  140. </node>
  141. <node class="Assignment" id="40">
  142. <property CastRight="false"/>
  143. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  144. <property Opr="const string &quot;5&quot;"/>
  145. </node>
  146. <node class="Action" id="41">
  147. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  148. <property ResultOption="BT_SUCCESS"/>
  149. </node>
  150. <node class="IfElse" id="37">
  151. <node class="Condition" id="42">
  152. <property Operator="Equal"/>
  153. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;)"/>
  154. <property Opr="const bool true"/>
  155. </node>
  156. <node class="Sequence" id="43">
  157. <node class="Action" id="44">
  158. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;oxDfVkiv1ozQ&quot;,&quot;7&quot;)"/>
  159. <property ResultOption="BT_SUCCESS"/>
  160. </node>
  161. </node>
  162. <node class="Noop" id="45"/>
  163. </node>
  164. <node class="Assignment" id="47">
  165. <property CastRight="false"/>
  166. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  167. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-奖励物个数&quot;)"/>
  168. </node>
  169. <node class="Action" id="48">
  170. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  171. <property ResultOption="BT_SUCCESS"/>
  172. </node>
  173. <node class="Assignment" id="49">
  174. <property CastRight="false"/>
  175. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  176. <property Opr="const string &quot;6&quot;"/>
  177. </node>
  178. <node class="Action" id="50">
  179. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  180. <property ResultOption="BT_SUCCESS"/>
  181. </node>
  182. <node class="IfElse" id="46">
  183. <node class="Condition" id="51">
  184. <property Operator="Equal"/>
  185. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  186. <property Opr="const bool true"/>
  187. </node>
  188. <node class="Sequence" id="52">
  189. <node class="Action" id="53">
  190. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;fEQIW8z6GuwZ&quot;,&quot;8&quot;)"/>
  191. <property ResultOption="BT_SUCCESS"/>
  192. </node>
  193. </node>
  194. <node class="Noop" id="54"/>
  195. </node>
  196. <node class="Assignment" id="56">
  197. <property CastRight="false"/>
  198. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  199. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-奖励物个数&quot;)"/>
  200. </node>
  201. <node class="Action" id="57">
  202. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_12&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  203. <property ResultOption="BT_SUCCESS"/>
  204. </node>
  205. <node class="Assignment" id="58">
  206. <property CastRight="false"/>
  207. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  208. <property Opr="const string &quot;7&quot;"/>
  209. </node>
  210. <node class="Action" id="59">
  211. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_13&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  212. <property ResultOption="BT_SUCCESS"/>
  213. </node>
  214. <node class="IfElse" id="55">
  215. <node class="Condition" id="60">
  216. <property Operator="Equal"/>
  217. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_12&quot;,&quot;__ttbt__localVariableIndex_13&quot;)"/>
  218. <property Opr="const bool true"/>
  219. </node>
  220. <node class="Sequence" id="61">
  221. <node class="Action" id="62">
  222. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;Lawz9JFGb6pg&quot;,&quot;9&quot;)"/>
  223. <property ResultOption="BT_SUCCESS"/>
  224. </node>
  225. </node>
  226. <node class="Noop" id="63"/>
  227. </node>
  228. <node class="Assignment" id="65">
  229. <property CastRight="false"/>
  230. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  231. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-奖励物个数&quot;)"/>
  232. </node>
  233. <node class="Action" id="66">
  234. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_14&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  235. <property ResultOption="BT_SUCCESS"/>
  236. </node>
  237. <node class="Assignment" id="67">
  238. <property CastRight="false"/>
  239. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  240. <property Opr="const string &quot;8&quot;"/>
  241. </node>
  242. <node class="Action" id="68">
  243. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_15&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  244. <property ResultOption="BT_SUCCESS"/>
  245. </node>
  246. <node class="IfElse" id="64">
  247. <node class="Condition" id="69">
  248. <property Operator="Equal"/>
  249. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_14&quot;,&quot;__ttbt__localVariableIndex_15&quot;)"/>
  250. <property Opr="const bool true"/>
  251. </node>
  252. <node class="Sequence" id="70">
  253. <node class="Action" id="71">
  254. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;FPhrPKT8ojW&quot;,&quot;10&quot;)"/>
  255. <property ResultOption="BT_SUCCESS"/>
  256. </node>
  257. </node>
  258. <node class="Noop" id="72"/>
  259. </node>
  260. <node class="Assignment" id="74">
  261. <property CastRight="false"/>
  262. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  263. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-宝箱类型&quot;)"/>
  264. </node>
  265. <node class="Action" id="75">
  266. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_16&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  267. <property ResultOption="BT_SUCCESS"/>
  268. </node>
  269. <node class="Assignment" id="76">
  270. <property CastRight="false"/>
  271. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  272. <property Opr="const string &quot;1&quot;"/>
  273. </node>
  274. <node class="Action" id="77">
  275. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_17&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  276. <property ResultOption="BT_SUCCESS"/>
  277. </node>
  278. <node class="IfElse" id="73">
  279. <node class="Condition" id="78">
  280. <property Operator="Equal"/>
  281. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_16&quot;,&quot;__ttbt__localVariableIndex_17&quot;)"/>
  282. <property Opr="const bool true"/>
  283. </node>
  284. <node class="Sequence" id="79">
  285. <node class="Action" id="80">
  286. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;mPUlgar5lbbW&quot;,&quot;aGdYkVQkxvYs&quot;,&quot;0&quot;)"/>
  287. <property ResultOption="BT_SUCCESS"/>
  288. </node>
  289. </node>
  290. <node class="Noop" id="81"/>
  291. </node>
  292. <node class="Assignment" id="83">
  293. <property CastRight="false"/>
  294. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  295. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-宝箱类型&quot;)"/>
  296. </node>
  297. <node class="Action" id="84">
  298. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_18&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  299. <property ResultOption="BT_SUCCESS"/>
  300. </node>
  301. <node class="Assignment" id="85">
  302. <property CastRight="false"/>
  303. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  304. <property Opr="const string &quot;2&quot;"/>
  305. </node>
  306. <node class="Action" id="86">
  307. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_19&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  308. <property ResultOption="BT_SUCCESS"/>
  309. </node>
  310. <node class="IfElse" id="82">
  311. <node class="Condition" id="87">
  312. <property Operator="Equal"/>
  313. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_18&quot;,&quot;__ttbt__localVariableIndex_19&quot;)"/>
  314. <property Opr="const bool true"/>
  315. </node>
  316. <node class="Sequence" id="88">
  317. <node class="Action" id="89">
  318. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;vqBbfSLp93gr&quot;,&quot;aGdYkVQkxvYs&quot;,&quot;1&quot;)"/>
  319. <property ResultOption="BT_SUCCESS"/>
  320. </node>
  321. </node>
  322. <node class="Noop" id="90"/>
  323. </node>
  324. <node class="Assignment" id="92">
  325. <property CastRight="false"/>
  326. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  327. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-宝箱类型&quot;)"/>
  328. </node>
  329. <node class="Action" id="93">
  330. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_20&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  331. <property ResultOption="BT_SUCCESS"/>
  332. </node>
  333. <node class="Assignment" id="94">
  334. <property CastRight="false"/>
  335. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  336. <property Opr="const string &quot;3&quot;"/>
  337. </node>
  338. <node class="Action" id="95">
  339. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_21&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  340. <property ResultOption="BT_SUCCESS"/>
  341. </node>
  342. <node class="IfElse" id="91">
  343. <node class="Condition" id="96">
  344. <property Operator="Equal"/>
  345. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_20&quot;,&quot;__ttbt__localVariableIndex_21&quot;)"/>
  346. <property Opr="const bool true"/>
  347. </node>
  348. <node class="Sequence" id="97">
  349. <node class="Action" id="98">
  350. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;8YGSQuVEYxi&quot;,&quot;aGdYkVQkxvYs&quot;,&quot;2&quot;)"/>
  351. <property ResultOption="BT_SUCCESS"/>
  352. </node>
  353. </node>
  354. <node class="Noop" id="99"/>
  355. </node>
  356. </node>
  357. </behavior>