sFSLdu8ew2Nl.xml 13 KB

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