0F6UDzB2AP2D.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="0F6UDzB2AP2D" 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;0&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::findSubString(&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::playTimeLineWait(&quot;kD2ikQTuS99T&quot;,&quot;0&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. <node class="Action" id="9">
  34. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;0&quot;)"/>
  35. <property ResultOption="BT_INVALID"/>
  36. </node>
  37. </node>
  38. <node class="Sequence" id="10">
  39. <node class="Assignment" id="12">
  40. <property CastRight="false"/>
  41. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  42. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-当前阶段&quot;)"/>
  43. </node>
  44. <node class="Action" id="13">
  45. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  46. <property ResultOption="BT_SUCCESS"/>
  47. </node>
  48. <node class="Assignment" id="14">
  49. <property CastRight="false"/>
  50. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  51. <property Opr="const string &quot;1&quot;"/>
  52. </node>
  53. <node class="Action" id="15">
  54. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  55. <property ResultOption="BT_SUCCESS"/>
  56. </node>
  57. <node class="IfElse" id="11">
  58. <node class="Condition" id="16">
  59. <property Operator="Equal"/>
  60. <property Opl="Self.red::RedBehaviacTree::findSubString(&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;)"/>
  61. <property Opr="const bool true"/>
  62. </node>
  63. <node class="Sequence" id="17">
  64. <node class="Action" id="18">
  65. <property Method="Self.red::RedBehaviacTree::playTimeLineWait(&quot;o4Hz0hoDAcs7&quot;,&quot;2&quot;)"/>
  66. <property ResultOption="BT_SUCCESS"/>
  67. </node>
  68. <node class="Action" id="19">
  69. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;2&quot;)"/>
  70. <property ResultOption="BT_INVALID"/>
  71. </node>
  72. </node>
  73. <node class="Sequence" id="20">
  74. <node class="Assignment" id="22">
  75. <property CastRight="false"/>
  76. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  77. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-当前阶段&quot;)"/>
  78. </node>
  79. <node class="Action" id="23">
  80. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  81. <property ResultOption="BT_SUCCESS"/>
  82. </node>
  83. <node class="Assignment" id="24">
  84. <property CastRight="false"/>
  85. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  86. <property Opr="const string &quot;2&quot;"/>
  87. </node>
  88. <node class="Action" id="25">
  89. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  90. <property ResultOption="BT_SUCCESS"/>
  91. </node>
  92. <node class="IfElse" id="21">
  93. <node class="Condition" id="26">
  94. <property Operator="Equal"/>
  95. <property Opl="Self.red::RedBehaviacTree::findSubString(&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  96. <property Opr="const bool true"/>
  97. </node>
  98. <node class="Sequence" id="27">
  99. <node class="Action" id="28">
  100. <property Method="Self.red::RedBehaviacTree::playTimeLineWait(&quot;uYjK2iefjdUi&quot;,&quot;4&quot;)"/>
  101. <property ResultOption="BT_SUCCESS"/>
  102. </node>
  103. <node class="Action" id="29">
  104. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;4&quot;)"/>
  105. <property ResultOption="BT_INVALID"/>
  106. </node>
  107. </node>
  108. <node class="Sequence" id="30">
  109. <node class="Assignment" id="32">
  110. <property CastRight="false"/>
  111. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  112. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-当前阶段&quot;)"/>
  113. </node>
  114. <node class="Action" id="33">
  115. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  116. <property ResultOption="BT_SUCCESS"/>
  117. </node>
  118. <node class="Assignment" id="34">
  119. <property CastRight="false"/>
  120. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  121. <property Opr="const string &quot;3&quot;"/>
  122. </node>
  123. <node class="Action" id="35">
  124. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  125. <property ResultOption="BT_SUCCESS"/>
  126. </node>
  127. <node class="IfElse" id="31">
  128. <node class="Condition" id="36">
  129. <property Operator="Equal"/>
  130. <property Opl="Self.red::RedBehaviacTree::findSubString(&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  131. <property Opr="const bool true"/>
  132. </node>
  133. <node class="Sequence" id="37">
  134. <node class="Action" id="38">
  135. <property Method="Self.red::RedBehaviacTree::playTimeLineWait(&quot;XASHmUYo6rp0&quot;,&quot;7&quot;)"/>
  136. <property ResultOption="BT_SUCCESS"/>
  137. </node>
  138. <node class="Action" id="39">
  139. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;7&quot;)"/>
  140. <property ResultOption="BT_INVALID"/>
  141. </node>
  142. </node>
  143. <node class="Sequence" id="40">
  144. <node class="Assignment" id="42">
  145. <property CastRight="false"/>
  146. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  147. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-当前阶段&quot;)"/>
  148. </node>
  149. <node class="Action" id="43">
  150. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  151. <property ResultOption="BT_SUCCESS"/>
  152. </node>
  153. <node class="Assignment" id="44">
  154. <property CastRight="false"/>
  155. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  156. <property Opr="const string &quot;4&quot;"/>
  157. </node>
  158. <node class="Action" id="45">
  159. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  160. <property ResultOption="BT_SUCCESS"/>
  161. </node>
  162. <node class="IfElse" id="41">
  163. <node class="Condition" id="46">
  164. <property Operator="Equal"/>
  165. <property Opl="Self.red::RedBehaviacTree::findSubString(&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;)"/>
  166. <property Opr="const bool true"/>
  167. </node>
  168. <node class="Sequence" id="47">
  169. <node class="Action" id="48">
  170. <property Method="Self.red::RedBehaviacTree::playTimeLineWait(&quot;7ISu8B5VTYgR&quot;,&quot;9&quot;)"/>
  171. <property ResultOption="BT_SUCCESS"/>
  172. </node>
  173. <node class="Action" id="49">
  174. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;9&quot;)"/>
  175. <property ResultOption="BT_INVALID"/>
  176. </node>
  177. </node>
  178. <node class="Sequence" id="50">
  179. <node class="Assignment" id="52">
  180. <property CastRight="false"/>
  181. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  182. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-当前阶段&quot;)"/>
  183. </node>
  184. <node class="Action" id="53">
  185. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  186. <property ResultOption="BT_SUCCESS"/>
  187. </node>
  188. <node class="Assignment" id="54">
  189. <property CastRight="false"/>
  190. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  191. <property Opr="const string &quot;5&quot;"/>
  192. </node>
  193. <node class="Action" id="55">
  194. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  195. <property ResultOption="BT_SUCCESS"/>
  196. </node>
  197. <node class="IfElse" id="51">
  198. <node class="Condition" id="56">
  199. <property Operator="Equal"/>
  200. <property Opl="Self.red::RedBehaviacTree::findSubString(&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  201. <property Opr="const bool true"/>
  202. </node>
  203. <node class="Sequence" id="57">
  204. <node class="Action" id="58">
  205. <property Method="Self.red::RedBehaviacTree::playTimeLineWait(&quot;L96EMSX6xPMQ&quot;,&quot;11&quot;)"/>
  206. <property ResultOption="BT_SUCCESS"/>
  207. </node>
  208. <node class="Action" id="59">
  209. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;11&quot;)"/>
  210. <property ResultOption="BT_INVALID"/>
  211. </node>
  212. </node>
  213. <node class="Sequence" id="60">
  214. <node class="Assignment" id="62">
  215. <property CastRight="false"/>
  216. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  217. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-当前阶段&quot;)"/>
  218. </node>
  219. <node class="Action" id="63">
  220. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_12&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  221. <property ResultOption="BT_SUCCESS"/>
  222. </node>
  223. <node class="Assignment" id="64">
  224. <property CastRight="false"/>
  225. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  226. <property Opr="const string &quot;6&quot;"/>
  227. </node>
  228. <node class="Action" id="65">
  229. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_13&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  230. <property ResultOption="BT_SUCCESS"/>
  231. </node>
  232. <node class="IfElse" id="61">
  233. <node class="Condition" id="66">
  234. <property Operator="Equal"/>
  235. <property Opl="Self.red::RedBehaviacTree::findSubString(&quot;__ttbt__localVariableIndex_12&quot;,&quot;__ttbt__localVariableIndex_13&quot;)"/>
  236. <property Opr="const bool true"/>
  237. </node>
  238. <node class="Sequence" id="67">
  239. <node class="Action" id="68">
  240. <property Method="Self.red::RedBehaviacTree::playTimeLineWait(&quot;7wT4BrvANYyy&quot;,&quot;13&quot;)"/>
  241. <property ResultOption="BT_SUCCESS"/>
  242. </node>
  243. <node class="Action" id="69">
  244. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;13&quot;)"/>
  245. <property ResultOption="BT_INVALID"/>
  246. </node>
  247. </node>
  248. <node class="Noop" id="70"/>
  249. </node>
  250. </node>
  251. </node>
  252. </node>
  253. </node>
  254. </node>
  255. </node>
  256. </node>
  257. </node>
  258. </node>
  259. </node>
  260. </node>
  261. </node>
  262. <node class="Assignment" id="71">
  263. <property CastRight="false"/>
  264. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  265. <property Opr="const string &quot;出现动画完成&quot;"/>
  266. </node>
  267. <node class="Action" id="72">
  268. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_14&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  269. <property ResultOption="BT_SUCCESS"/>
  270. </node>
  271. <node class="Action" id="73">
  272. <property Method="Self.red::RedBehaviacTree::notifyDevelopment(&quot;wvXvlDvHMegn&quot;,&quot;__ttbt__localVariableIndex_14&quot;)"/>
  273. <property ResultOption="BT_SUCCESS"/>
  274. </node>
  275. </node>
  276. </behavior>